From ffbdd57835e8b1e5802935d3d6ffe7f9014bc4b4 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 21 Apr 2002 11:37:44 +0000 Subject: [PATCH] using print_wav_header in acm init git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5761 b3059339-0415-0410-9bf9-f77b7e298cf2 --- dll_init.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dll_init.c b/dll_init.c index 22702ec02d..c8732c7110 100644 --- a/dll_init.c +++ b/dll_init.c @@ -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 }