diff options
author | ratchov <ratchov@openbsd.org> | 2017-03-11 10:12:45 +0000 |
---|---|---|
committer | ratchov <ratchov@openbsd.org> | 2017-03-11 10:12:45 +0000 |
commit | 557afc54c10fb9325549f8deaa4d7df39678c9ea (patch) | |
tree | 99e640d7c07beb7b3e4174c0f2c23413f67bfe98 /sys/dev/audio_if.h | |
parent | Set EVT_NOTIFY_SIGNAL when calling boot services CreateEvent(). (diff) | |
download | wireguard-openbsd-557afc54c10fb9325549f8deaa4d7df39678c9ea.tar.xz wireguard-openbsd-557afc54c10fb9325549f8deaa4d7df39678c9ea.zip |
AUDIO_ENCODING_{S,U}LINEAR constants are neither used by low level
drivers nor exposed to user-land. Remove definitions and code to
handle convertions.
Diffstat (limited to 'sys/dev/audio_if.h')
-rw-r--r-- | sys/dev/audio_if.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/audio_if.h b/sys/dev/audio_if.h index bdef371a81c..220461dfe60 100644 --- a/sys/dev/audio_if.h +++ b/sys/dev/audio_if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: audio_if.h,v 1.33 2016/09/19 06:46:44 ratchov Exp $ */ +/* $OpenBSD: audio_if.h,v 1.34 2017/03/11 10:12:45 ratchov Exp $ */ /* $NetBSD: audio_if.h,v 1.24 1998/01/10 14:07:25 tv Exp $ */ /* @@ -65,8 +65,6 @@ struct audio_params { #define AUDIO_ENCODING_SLINEAR_BE 7 #define AUDIO_ENCODING_ULINEAR_LE 8 #define AUDIO_ENCODING_ULINEAR_BE 9 -#define AUDIO_ENCODING_SLINEAR 10 -#define AUDIO_ENCODING_ULINEAR 11 u_int encoding; /* mu-law, linear, etc */ u_int precision; /* bits/sample */ u_int bps; /* bytes/sample */ |