• 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
Re: Detecting and hosting audio units with complex bus/channel layouts [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting and hosting audio units with complex bus/channel layouts [solved]


  • Subject: Re: Detecting and hosting audio units with complex bus/channel layouts [solved]
  • From: Per Bull Holmen <email@hidden>
  • Date: Mon, 20 Feb 2012 02:49:53 +0100

Den 17:16 19. februar 2012 skrev Per Bull Holmen <email@hidden> følgende:

> * This one is worse. The AU has one output element after creation, but
> this can be changed by the host. It supports up to 24 channels, but is
> this PER ELEMENT? All other AUs report number of channels per
> bus/element, but the options that appear in Logic (posted above) is
> more consistent with up to 24 channels ALTOGETHER.

I see now, that I should have read the header file, as well as the
documentation on the web. On the web it is not explained properly, but
in the header file explaining the property
kAudioUnitProperty_SupportedNumChannels, it says,

quote:
A negative number less than -2 is used to indicate a total number of
channels across every bus on that scope, regardless of how many
channels are set on any particular bus.

On the web it says, quote:
A negative value for a field in an AUChannelInfo structure indicates
that an input/output bus supports a variable number of channels, as
follows:
{–1, –1} indicates that a bus supports any number of input or output
channels provided that the input and output channel counts match each
other. This is the default configuration for effect units.
{–1, –2} or {–2, –1} indicates that a bus supports any number of input
and output channels; the channel counts on input and output can differ
from each other.
{–1, –3} indicates that a bus supports any number of input channels
and up to three output channels.

https://developer.apple.com/library/mac/#documentation/AudioUnit/Reference/AudioUnitPropertiesReference/Reference/reference.html

Clearly the header file is right. So, this answers my question.

Per

 _______________________________________________
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: Detecting and hosting audio units with complex bus/channel layouts
  • Next by Date: extaudiofileread stereo float (iOS)
  • Previous by thread: Detecting and hosting audio units with complex bus/channel layouts
  • Next by thread: extaudiofileread stereo float (iOS)
  • Index(es):
    • Date
    • Thread