diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-27 18:16:55 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-27 18:16:55 +0000 |
commit | 87494001335cf8d96da3ee7c7e6739408b0002f5 (patch) | |
tree | b765fed5f869bf39a79cdbfc3adcdc58958962b7 /libao2 | |
parent | 646a2a2e37805931cffd7b00da36c5350f014120 (diff) |
10l, nasty ao drivers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14253 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_nas.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libao2/ao_nas.c b/libao2/ao_nas.c index 5955ac1b89..17ed4bf0b3 100644 --- a/libao2/ao_nas.c +++ b/libao2/ao_nas.c @@ -387,12 +387,13 @@ static int init(int rate,int channels,int format,int flags) 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; |