[nas] [Patch] Minor bug in nas 1.4.1

Erik Inge Bolsø knan at mo.himolde.no
Thu Oct 5 14:11:55 MDT 2000


There's a minor error in auvoxware.c in 1.4 and 1.4.1, which leads it to
try opening 3 channels. (Triplio, as opposed to stereo?) As rather few
cards are willing to open three channels for you, this bug is rather
obscure, you'll get two channels anyway. Discovered this while fooling
around with running nasd on top of libaudiooss on top of nas on top of the
real physical device :-)

Patch attached below.

--- ../../../../nas-1.4-eib1/server/dda/voxware/auvoxware.c	Sun Mar  5 03:40:55 2000
+++ ./auvoxware.c	Thu Oct  5 21:51:44 2000
@@ -217,7 +217,7 @@
 {
 	-1,
 	16,
-	2,
+	1,
 	0,
 	4000,
 	44100,
@@ -230,7 +230,7 @@
 {
 	-1,
 	16,
-	2,
+	1,
 	0,
 	4000,
 	44100,

--
Erik I. Bolsø | email: <knan at mo.himolde.no>
              | irc: Knan / #linux.no @ Undernet




More information about the Nas mailing list