Re: Output Audio Devices
Re: Output Audio Devices
- Subject: Re: Output Audio Devices
- From: James Coker <email@hidden>
- Date: Mon, 5 Jan 2004 19:39:08 -0700
More questions:
How do I determine what size array to use?
After creating a HALOutputUnit, then assigning the
Current Device, connecting inputs, updating the
graph, etc. if I call getPropertyInfo on the ChannelMap,
I get a status of: kAudioUnitErr_PropertyNotInUse. Do
I have to look elsewhere to determine how many channels
are active? (such as AudioDevice property calls)
Thanks,
Jim
On Jan 5, 2004, at 6:28 PM, James McCartney wrote:
On Jan 5, 2004, at 4:42 PM, James Coker wrote:
I'm looking for the type of the kAudioOutputUnitProperty_ChannelMap
property
as discussed below, but don't see anything in the header files,
PublicUtility, AU doc or
list archives. Does anyone know what the type of this property is?
It is an array of SInt32. Each element of the array represents an
output and each integer value corresponds to which input goes to that
output. A -1 value means no input goes to that output, i.e. it will be
silent.
And, does anyone know the relationship between this property, and the
very similar sounding kAudioUnitProperty_AudioChannelLayout?
An AudioChannelLayout is a structure defined in CoreAudioTypes.h which
provides information about the channel ordering of a stream.
AudioChannelLayout tells you, if you have 6 channels of data for
example, whether it is 6.0 or 5.1 and which channels correspond to
which speakers.
Thanks,
Jim
-
james mccartney
apple coreaudio
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.