Mercurial > mplayer.hg
changeset 5760:41ad1efb8ffb
using print_wav_header in acm init
author | alex |
---|---|
date | Sun, 21 Apr 2002 11:37:44 +0000 |
parents | e102d40061ae |
children | 1ba1b0365ab7 |
files | dll_init.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dll_init.c Sun Apr 21 11:11:14 2002 +0000 +++ b/dll_init.c Sun Apr 21 11:37:44 2002 +0000 @@ -55,6 +55,7 @@ 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 @@ 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 }