Log channel/samplerate/bitrate

This commit is contained in:
raven02 2014-04-05 21:57:26 +08:00
parent 3b793a55e2
commit 4a35c726b3

View File

@ -443,7 +443,8 @@ int sceMp3Init(u32 mp3) {
ctx->mp3SamplingRate = ctx->decoder_context->sample_rate;
ctx->mp3Channels = ctx->decoder_context->channels;
ctx->mp3Bitrate = ctx->decoder_context->bit_rate / 1000;
INFO_LOG(ME, "sceMp3Init(): channels=%i, samplerate=%ikHz, bitrate=%ikbps", ctx->mp3Channels, ctx->mp3SamplingRate, ctx->mp3Bitrate);
av_dump_format(ctx->avformat_context, 0, "mp3", 0);
#endif