Subject: bin/3867: /src/usr.bin/audioctl/audioctl.c does not reflect changes in audioio.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 07/15/1997 19:16:44
>Number: 3867
>Category: bin
>Synopsis: /src/usr.bin/audioctl/audioctl.c does not reflect changes in audioio.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 15 10:20:02 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current 15.7.1997
>Environment:
System: NetBSD cyberlap 1.2G NetBSD 1.2G (CYBERLAP) #5: Mon Jul 14 22:18:49 CEST 1997 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386
>Description:
/src/usr.bin/audioctl/audioctl.c does not reflect recent changes in audioio.h,
where AUDIO_ENCODING_LINEAR_{LE,BE} were renamed to
AUDIO_ENCODING_SINEAR_{LE,BE}.
>How-To-Repeat:
Try to compile /src/usr.bin/audioctl on a current system.
>Fix:
Apply the following patch to /src/usr.bin/audioctl/audioctl.c:
*** audioctl.c-orig Tue Jul 15 19:08:32 1997
--- audioctl.c Tue Jul 15 19:08:32 1997
***************
*** 128,136 ****
{ "adpcm", AUDIO_ENCODING_ADPCM },
{ "ADPCM", AUDIO_ENCODING_ADPCM },
{ "mulaw", AUDIO_ENCODING_ULAW },
! { "linear_le", AUDIO_ENCODING_LINEAR_LE },
{ "ulinear_le", AUDIO_ENCODING_ULINEAR_LE },
! { "linear_be", AUDIO_ENCODING_LINEAR_BE },
{ "ulinear_be", AUDIO_ENCODING_ULINEAR_BE },
{ 0 }
};
--- 128,136 ----
{ "adpcm", AUDIO_ENCODING_ADPCM },
{ "ADPCM", AUDIO_ENCODING_ADPCM },
{ "mulaw", AUDIO_ENCODING_ULAW },
! { "linear_le", AUDIO_ENCODING_SLINEAR_LE },
{ "ulinear_le", AUDIO_ENCODING_ULINEAR_LE },
! { "linear_be", AUDIO_ENCODING_SLINEAR_BE },
{ "ulinear_be", AUDIO_ENCODING_ULINEAR_BE },
{ 0 }
};
>Audit-Trail:
>Unformatted:
/src/usr.bin/audioctl/audioctl.c does not reflect changes in audioio.h