diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-28 19:11:14 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-28 19:11:14 +0000 |
commit | 14a29762f2df7e819096112269de6acca0aecb61 (patch) | |
tree | 711767bd6bb682709eaa0f88161c07ae87925b83 /libao2/ao_dsound.c | |
parent | e8739c6d9276cd05361b061a2510e26b84c53cec (diff) | |
download | mpv-14a29762f2df7e819096112269de6acca0aecb61.tar.bz2 mpv-14a29762f2df7e819096112269de6acca0aecb61.tar.xz |
af_fmt2str_short
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14265 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_dsound.c')
-rw-r--r-- | libao2/ao_dsound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libao2/ao_dsound.c b/libao2/ao_dsound.c index bcdce0b1a0..8d8d458584 100644 --- a/libao2/ao_dsound.c +++ b/libao2/ao_dsound.c @@ -372,7 +372,7 @@ static int init(int rate, int channels, int format, int flags) case AF_FORMAT_S8: break; default: - mp_msg(MSGT_AO, MSGL_V,"ao_dsound: format %x not supported defaulting to Signed 16-bit Little-Endian\n",format); + mp_msg(MSGT_AO, MSGL_V,"ao_dsound: format %s not supported defaulting to Signed 16-bit Little-Endian\n",af_fmt2str_short(format)); format=AF_FORMAT_S16_LE; } //fill global ao_data @@ -381,7 +381,7 @@ static int init(int rate, int channels, int format, int flags) ao_data.format = format; ao_data.bps = channels * rate * (af_fmt2bits(format)>>3); if(ao_data.buffersize==-1) ao_data.buffersize = ao_data.bps; // space for 1 sec - mp_msg(MSGT_AO, MSGL_V,"ao_dsound: Samplerate:%iHz Channels:%i Format:%x\n", rate, channels, format); + mp_msg(MSGT_AO, MSGL_V,"ao_dsound: Samplerate:%iHz Channels:%i Format:%s\n", rate, channels, af_fmt2str_short(format)); mp_msg(MSGT_AO, MSGL_V,"ao_dsound: Buffersize:%d bytes (%d msec)\n", ao_data.buffersize, ao_data.buffersize / ao_data.bps * 1000); //fill waveformatex |