[nas] [Patch] Minor bug in nas 1.4.1 - Reply

Dave Richards drichard at largo.com
Thu Oct 5 14:30:49 MDT 2000


Maybe someone was putting in some Dolby Pro-Logic code for us in NAS? ;) 

D

>>> Erik_Inge_Bolsø <knan at mo.himolde.no> 10/ 5  4:11pm >>>
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,




More information about the Nas mailing list