From 4d7d3bf2c03202878bcfb519e821d2c2fb8d1b79 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 27 Dec 2004 18:10:30 +0000 Subject: hopefully final fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14250 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_sgi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libao2/ao_sgi.c') diff --git a/libao2/ao_sgi.c b/libao2/ao_sgi.c index d1c6ef2d1d..796691ab4e 100644 --- a/libao2/ao_sgi.c +++ b/libao2/ao_sgi.c @@ -41,8 +41,9 @@ static int control(int cmd, void *arg){ // open & setup audio device // return: 1=success 0=fail static int init(int rate, int channels, int format, int flags) { - - mp_msg(MSGT_AO, MSGL_INFO, MSGTR_AO_SGI_InitInfo, rate, (channels > 1) ? "Stereo" : "Mono", audio_out_format_name(format)); + + char buf[128]; + mp_msg(MSGT_AO, MSGL_INFO, MSGTR_AO_SGI_InitInfo, rate, (channels > 1) ? "Stereo" : "Mono", af_fmt2str(format, &buf, 128)); { /* from /usr/share/src/dmedia/audio/setrate.c */ -- cgit v1.2.3