1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00

more verbose message

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14815 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2005-02-25 10:21:14 +00:00
parent 8173fd8929
commit abe18b2f02

View File

@ -96,10 +96,11 @@ int init_audio_codec(sh_audio_t *sh_audio)
if(!sh_audio->o_bps) if(!sh_audio->o_bps)
sh_audio->o_bps=sh_audio->channels*sh_audio->samplerate*sh_audio->samplesize; sh_audio->o_bps=sh_audio->channels*sh_audio->samplerate*sh_audio->samplesize;
mp_msg(MSGT_DECAUDIO,MSGL_INFO,"AUDIO: %d Hz, %d ch, %d bit (0x%X), ratio: %d->%d (%3.1f kbit)\n", mp_msg(MSGT_DECAUDIO,MSGL_INFO,"AUDIO: %d Hz, %d ch, %s, %3.1f kbit/%3.2f%% (ratio: %d->%d)\n",
sh_audio->samplerate,sh_audio->channels, sh_audio->samplerate,sh_audio->channels,
sh_audio->samplesize*8,sh_audio->sample_format, af_fmt2str_short(sh_audio->sample_format),
sh_audio->i_bps,sh_audio->o_bps,sh_audio->i_bps*8*0.001); sh_audio->i_bps*8*0.001,((float)sh_audio->i_bps/sh_audio->o_bps)*100.0,
sh_audio->i_bps,sh_audio->o_bps);
sh_audio->a_out_buffer_size=sh_audio->a_buffer_size; sh_audio->a_out_buffer_size=sh_audio->a_buffer_size;
sh_audio->a_out_buffer=sh_audio->a_buffer; sh_audio->a_out_buffer=sh_audio->a_buffer;