The AudioChannelLayout Core Audio structure is used to specify channel layouts in files and hardware.
The QTPlgAudioChannelLayout class provides you with properties and methods that let you whether access or create new instances of such a Core Audio description structure. Mostly, you will use instances of this class along with the property of the class, to get or set informations about the characteristics of a channel layout.
This class requires QuickTime 7 or later.
The QTPlgAudioChannelLayout class constructors are called when you create a new instance of the class, while the ˜QTPlgAudioChannelLayout class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used.
The class provides you with the following initializer methods:
()
This is the default constructor. Use this constructor to create a completely new data descriptor container in memory
(other as QTPlgAudioChannelLayout)
This is the copy constructor. The properties of the object to be copied will be used to initialize the
new class instance properties
returns a pointer to the built–in AudioChannelLayout Core Audio structure; useful for Toolbox programmers
(use with care: you could invalidate the handle causing unpredictable results
(probably an application crash))
indicates that the value specified by the property has to be
used to define the mapping. If both this property and the property
are set to false, the layout mapping is described by the value of the
property
indicates that the list of channel descriptions specified by the
property has to be used to define the mapping. If both this property and the
property
are set to false, the layout mapping is described by the value of the
property
an unsigned integer value that describes the layout mapping
an unsigned integer value that describes the layout mapping. This value is used only if the
property is set to true
a collection of objects that describe the mapping of the
channel layout. This list is used only if the property is
set to true
(desc as )
use this method to add a object to the
of the current channel layout