Mercurial > mplayer.hg
changeset 1113:d92e19f1ae71
Ooops
author | atmosfear |
---|---|
date | Tue, 12 Jun 2001 14:37:32 +0000 |
parents | b1cf1087ec33 |
children | ce92a1d0c60c |
files | libao2/ao_pcm.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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");