Commit b9fad1e5 by ziyue

Merge branch 'master' of https://github.com/xia-chu/ZLMediaKit

parents 77ba24b5 c426c702
...@@ -30,12 +30,12 @@ void AudioSRC::setOutputAudioConfig(const SDL_AudioSpec &cfg) { ...@@ -30,12 +30,12 @@ void AudioSRC::setOutputAudioConfig(const SDL_AudioSpec &cfg) {
} }
InfoL << "audio cvt origin format, freq:" << freq << ", format:" << hex << format << dec << ", channels:" << channels; InfoL << "audio cvt origin format, freq:" << freq << ", format:" << hex << format << dec << ", channels:" << channels;
InfoL << "audio cvt info, " InfoL << "audio cvt info, "
<< "needed:" << _audio_cvt.needed << "needed:" << (int)_audio_cvt.needed
<< ", src_format:" << hex << _audio_cvt.src_format << ", src_format:" << hex << (SDL_AudioFormat)_audio_cvt.src_format
<< ", dst_format:" << _audio_cvt.dst_format << dec << ", dst_format:" << (SDL_AudioFormat)_audio_cvt.dst_format << dec
<< ", rate_incr:" << _audio_cvt.rate_incr << ", rate_incr:" << (double)_audio_cvt.rate_incr
<< ", len_mult:" << _audio_cvt.len_mult << ", len_mult:" << (int)_audio_cvt.len_mult
<< ", len_ratio:" << _audio_cvt.len_ratio; << ", len_ratio:" << (double)_audio_cvt.len_ratio;
} }
void AudioSRC::setEnableMix(bool flag) { void AudioSRC::setEnableMix(bool flag) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论