mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
using print_wav_header in acm init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5761 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2d195666b0
commit
ffbdd57835
@ -55,6 +55,7 @@ int init_acm_audio_codec(sh_audio_t *sh_audio){
|
||||
sh_audio->o_wf.cbSize=0;
|
||||
|
||||
if(verbose) {
|
||||
#if 0
|
||||
printf("Input format:\n");
|
||||
printf(" wFormatTag %d\n", in_fmt->wFormatTag);
|
||||
printf(" nChannels %d\n", in_fmt->nChannels);
|
||||
@ -71,6 +72,13 @@ int init_acm_audio_codec(sh_audio_t *sh_audio){
|
||||
printf(" nBlockAlign %d\n", sh_audio->o_wf.nBlockAlign);
|
||||
printf(" wBitsPerSample %d\n", sh_audio->o_wf.wBitsPerSample);
|
||||
printf(" cbSize %d\n", sh_audio->o_wf.cbSize);
|
||||
#else
|
||||
printf("Input format:\n");
|
||||
print_wave_header(in_fmt);
|
||||
printf("Output fmt:\n");
|
||||
print_wave_header(&sh_audio->o_wf);
|
||||
printf("\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user