• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
off by one
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: dynamic allocation in the CoreAudio DSP thread
  • Next by Date: Creating new Queues in background
  • Previous by thread: Re: dynamic allocation in the CoreAudio DSP thread
  • Next by thread: Creating new Queues in background
  • Index(es):
    • Date
    • Thread