5.1 AC-3 WAVs recognized as 2 channels?
5.1 AC-3 WAVs recognized as 2 channels?
- Subject: 5.1 AC-3 WAVs recognized as 2 channels?
- From: "Stephen F. Booth" <email@hidden>
- Date: Thu, 15 Jun 2006 11:21:48 -0700
Hello all,
I recently downloaded a 5.1 AC-3 sample WAV from http://
www.kellyindustries.com/sounds.html
Background: Opening the file with QuickTime Player results in static-
the file is shown as stereo. However, VLC correctly opens and plays
the file.
If I open the file with ExtAudioFileOpen(), and then get information
using ExtAudioFileGetProperty(), the resulting
AudioStreamBasicDescription is filled in with 44.1 kHz, 2-channel
audio at 16 bits per sample. Obviously any operations performed on
the 5.1 file treating it as 2 channels result in audio garbage (I
primarily want to convert to FLAC).
The WAVE header looks like (starting at the 'fmt ' chunk): 66 6D 74
20 10 00 00 00 01 00 02 00 44 AC 00 00 10 B1 02 00 04 00 10 00. With
this header, the Core Audio interpretation seems to be correct- the
header implies 2-channel audio (I referred to the WAVE header info at
http://ccrma.stanford.edu/courses/422/projects/WaveFormat/).
I couldn't find any information on 5.1 WAVE format, but assuming the
same as regular WAVE, I am stumped how this file plays correctly in
VLC but generates static in QuickTime Plyaer. Have I done something
wrong or does Core Audio not support this type of WAV?
Thanks,
Stephen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden