[MPlayer-cvslog] CVS: main/libao2 ao_nas.c,1.17,1.18

Alex Beregszaszi syncmail at mplayerhq.hu
Mon Dec 27 19:16:58 CET 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv14395

Modified Files:
	ao_nas.c 
Log Message:
10l, nasty ao drivers

Index: ao_nas.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_nas.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ao_nas.c	27 Dec 2004 17:30:13 -0000	1.17
+++ ao_nas.c	27 Dec 2004 18:16:55 -0000	1.18
@@ -387,12 +387,13 @@
 	int bytes_per_sample = channels * AuSizeofFormat(auformat);
 	int buffer_size;
 	char *server;
+	char buf[128];
 
 	nas_data=malloc(sizeof(struct ao_nas_data));
 	memset(nas_data, 0, sizeof(struct ao_nas_data));
 
 	mp_msg(MSGT_AO, MSGL_V, "ao2: %d Hz  %d chans  %s\n",rate,channels,
-		audio_out_format_name(format));
+		af_fmt2str(format,&buf,128));
 
 	ao_data.format = format;
 	ao_data.samplerate = rate;




More information about the MPlayer-cvslog mailing list