changeset 14252:1e16a8e3735b

10l, nasty ao drivers
author alex
date Mon, 27 Dec 2004 18:16:55 +0000
parents 89c1422b367b
children 6c9f27a5ea02
files libao2/ao_nas.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_nas.c	Mon Dec 27 18:14:03 2004 +0000
+++ b/libao2/ao_nas.c	Mon Dec 27 18:16:55 2004 +0000
@@ -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;