AudioChannelLayout in HAL plugin, AudioChannelLayout in CAF file, wrong channel assignments!
AudioChannelLayout in HAL plugin, AudioChannelLayout in CAF file, wrong channel assignments!
- Subject: AudioChannelLayout in HAL plugin, AudioChannelLayout in CAF file, wrong channel assignments!
- From: Kieran Tyrrell <email@hidden>
- Date: Tue, 07 Aug 2012 20:16:16 +0200
Hi,
I am developing a HAL plugin which supports three streams, stereo, 5.1, and ambisonic, all mapped to different channels on the device. The device reports the channel mappings via kAudioDevicePropertyPreferredChannelsForStereo and kAudioDevicePropertyPreferredChannelLayout properties.
I have a CAF audio file with 4 channels labelled as kAudioChannelLabel_Ambisonic_W ,X, Y and Z channels, but when Quicktime player, QuickLookUIHelper, iTunes (when the CAF is embedded in a .mov container) etc play back the audio through the HAL device the audio doesn't appear on the ambisonic stream as one would expect, it seems to get mixed down to 5.1 and rendered on the 5.1 stream.
Is this the intended behaviour?! Is there any way the HAL plugin can report it's channel mappings so that apple apps (Quicktime etc) play back audio labelled as kAudioChannelLabel_Ambisonic_W etc, on the output device's channels labelled as kAudioChannelLabel_Ambisonic_W etc??
Thanks!
Kieran.
_______________________________________________
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