summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1998-07-24 01:59:39 +0000
committerJason Downs <downsj@cvs.openbsd.org>1998-07-24 01:59:39 +0000
commitef5a835818d2ec6dea581cc50d3110c30c8c0e23 (patch)
tree07455eb2e45820161ce680a91f55c1e3fdd90876 /sys
parenta51ea65e416b5c5b539af74b1f7708cda4c8f0e1 (diff)
Kill the god damned COMPAT_12. Thanks, guys.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/audio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index e05a3af02df..0cc16f79a12 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.12 1998/04/26 21:03:06 provos Exp $ */
+/* $OpenBSD: audio.c,v 1.13 1998/07/24 01:59:38 downsj Exp $ */
/* $NetBSD: audio.c,v 1.71 1997/09/06 01:14:48 augustss Exp $ */
/*
@@ -2022,7 +2022,6 @@ int
audio_check_params(p)
struct audio_params *p;
{
-#if defined(COMPAT_12)
if (p->encoding == AUDIO_ENCODING_PCM16) {
if (p->precision == 8)
p->encoding = AUDIO_ENCODING_ULINEAR;
@@ -2034,7 +2033,6 @@ audio_check_params(p)
else
return EINVAL;
}
-#endif
if (p->encoding == AUDIO_ENCODING_SLINEAR)
#if BYTE_ORDER == LITTLE_ENDIAN