[MPlayer-cvslog] r23024 - trunk/libao2/ao_nas.c

reimar subversion at mplayerhq.hu
Thu Apr 19 18:29:00 CEST 2007


Author: reimar
Date: Thu Apr 19 18:28:59 2007
New Revision: 23024

Modified:
   trunk/libao2/ao_nas.c

Log:
Mono audio should be supported by NAS, too.
Patch by Erik Auerswald {auerswal -at- unix-ag <dot> uni-kl de}


Modified: trunk/libao2/ao_nas.c
==============================================================================
--- trunk/libao2/ao_nas.c	(original)
+++ trunk/libao2/ao_nas.c	Thu Apr 19 18:28:59 2007
@@ -445,7 +445,7 @@ static int init(int rate,int channels,in
 		return 0;
 	}
 
-	while (channels>1) {
+	while (channels>0) {
 		nas_data->dev = nas_find_device(nas_data->aud, channels);
 		if (nas_data->dev != AuNone &&
 		    ((nas_data->flow = AuCreateFlow(nas_data->aud, NULL)) != 0))



More information about the MPlayer-cvslog mailing list