off by one
off by one
- Subject: off by one
- From: email@hidden
- Date: Wed, 03 Jul 2013 11:54:28 +0200
Hi all,
I'm trying to use the property kAudioDevicePropertyPreferredChannelsForStereo in an app. According to the docs retrieving that property gives two channel indices for left and right.
It appears to do so, but with an offset of 1. I'm using an interface with 14 outs in three streams (stereo analog, 8 channel analog, S/PDIF), stereo phones) and I've define channel 7 and 8 of the 8 channel stream for stereo playback.
The property gives me channel indices 9 and 10, where I think it should be 8 and 9. Are these indices supposed to be offset by one ?
On another note, when trying to define a stereo output pair that's not contiguous on the interface AMS will revert it to a contiguous pair. Seems to be a bug.
Peter
_______________________________________________
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