changeset 7847:f1e6a68a42f1

dump wav header
author arpi
date Tue, 22 Oct 2002 16:02:21 +0000
parents 99d2902782ed
children 3c1d30a1afc0
files libmpdemux/demux_audio.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c	Tue Oct 22 15:55:40 2002 +0000
+++ b/libmpdemux/demux_audio.c	Tue Oct 22 16:02:21 2002 +0000
@@ -164,6 +164,7 @@
     w->wBitsPerSample = sh_audio->samplesize = stream_read_word_le(s);
     w->cbSize = 0;
     l -= 16;
+    if(verbose>0) print_wave_header(w);
     if(l)
       stream_skip(s,l);
     do
@@ -175,6 +176,7 @@
     } while (chunk_type != mmioFOURCC('d', 'a', 't', 'a'));
     demuxer->movi_start = stream_tell(s);
     demuxer->movi_end = s->end_pos;
+//    printf("wav: %X .. %X\n",(int)demuxer->movi_start,(int)demuxer->movi_end);
   } break;
   }