diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-27 18:10:30 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-27 18:10:30 +0000 |
commit | 4d7d3bf2c03202878bcfb519e821d2c2fb8d1b79 (patch) | |
tree | 9bb9b239ff2cd0a1a2adcd6859a638876836555b /libao2/ao_sgi.c | |
parent | 85b7553d0546163e402ba5ea287b541605d9682b (diff) | |
download | mpv-4d7d3bf2c03202878bcfb519e821d2c2fb8d1b79.tar.bz2 mpv-4d7d3bf2c03202878bcfb519e821d2c2fb8d1b79.tar.xz |
hopefully final fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14250 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_sgi.c')
-rw-r--r-- | libao2/ao_sgi.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 */ |