Subject: xanim package
To: None <tech-pkg@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-pkg
Date: 08/24/2001 18:35:21
--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
xanim requests AUDIO_ENCODING_SLINEAR, and assumes that is little endian
a few lines down.
Assuming that nobody objects seriously, I'll add the patch below to the xanim
package (and submit to xanim).
Regards,
-is
--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ac
--- xa_audio.c.original Fri Aug 24 17:33:57 2001
+++ xa_audio.c Fri Aug 24 17:35:14 2001
@@ -4665,10 +4665,10 @@
a_info.mode = AUMODE_PLAY | AUMODE_PLAY_ALL;
ioctl(devAudio, AUDIO_SETINFO, &a_info);
-#ifdef AUDIO_ENCODING_SLINEAR
+#ifdef AUDIO_ENCODING_SLINEAR_LE
/* Use new encoding names */
AUDIO_INITINFO(&a_info);
- a_info.play.encoding = AUDIO_ENCODING_SLINEAR;
+ a_info.play.encoding = AUDIO_ENCODING_SLINEAR_LE;
a_info.play.precision = 16;
if ( ioctl(devAudio, AUDIO_SETINFO, &a_info) < 0)
{
--EeQfGwPcQSOJBaQU--