Don't #ifdef the encoding compatibility crud. It's needed for source

compatibility with other systems and much third party software.
This commit is contained in:
mycroft 1998-07-09 02:45:45 +00:00
parent 7b6cd6a0a6
commit 401accfd7a
1 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: audio.c,v 1.87 1998/07/05 08:49:41 jonathan Exp $ */
/* $NetBSD: audio.c,v 1.88 1998/07/09 02:45:45 mycroft Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@ -1972,7 +1972,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;
@ -1984,7 +1983,6 @@ audio_check_params(p)
else
return EINVAL;
}
#endif
if (p->encoding == AUDIO_ENCODING_SLINEAR)
#if BYTE_ORDER == LITTLE_ENDIAN