Simple channel re-ordering is all I need, but I can't get kAudioOutputUnitProperty_ChannelMap to work correctly. If I pass { -1, -1 } as a map it mutes both channels, but any other map results in no change to the audio. I've also tried setting the map on kAudioUnitScope_Output and kAudioUnitScope_Input, with no difference.
I'm attaching a small test program that generates noise to channel 0, but also sets a channel map that should reverse the L/R channels. It doesn't work, and I get noise on L. Maybe you can figure out what I'm doing wrong, or if there's a bug somewhere?
catest.c.txt
Topic:
Audio
SubTopic:
Audio Q&A