# HG changeset patch # User atmosfear # Date 992356652 0 # Node ID d92e19f1ae71868e037668a72854f321dc37dae7 # Parent b1cf1087ec3397734e3a4144566f5713671998c5 Ooops diff -r b1cf1087ec33 -r d92e19f1ae71 libao2/ao_pcm.c --- a/libao2/ao_pcm.c Tue Jun 12 14:24:26 2001 +0000 +++ b/libao2/ao_pcm.c Tue Jun 12 14:37:32 2001 +0000 @@ -80,11 +80,10 @@ strcpy(ao_outputfilename,(ao_pcm_waveheader ? "audiodump.wav" : "audiodump.pcm")); } - wavhdr.fmt_length = 16; /* = format? */ wavhdr.channels = channels; wavhdr.sample_rate = rate; wavhdr.bytes_per_second = rate * (format / 8) * channels; - wavhdr.bits = format, + wavhdr.bits = format; printf("PCM: File: %s (%s) Samplerate: %iHz Channels: %s Format %s\n", ao_outputfilename, (ao_pcm_waveheader?"WAVE":"RAW PCM"), rate, (channels > 1) ? "Stereo" : "Mono", audio_out_format_name(format)); printf("PCM: Info - fastest dumping is achieved with -vo null -hardframedrop.\n");