Contents
Navigation
Home User Reference Other Resources


This class lets developer to retrieve and/or change settings of an audio device currently available to the system. The object of this class can represent both the input or output source characteristics of the inspected audio device.

As the methods and properties implemented by this class rely on the CoreAudio framework, using this class requires QuickTime 7.0 or later and MacOS X 10.3 or later.

Note that the class property could be set with four char codes values instead of simple integer values. This being the case, you can use the class to obtain the string representation of these codes.

Since version 6.7 of the plugin this class can be used in Console Applications






The QTPlgAudioDeviceProperties class constructors are called when you create a new instance of the class, while the ˜QTPlgAudioDeviceProperties 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. You will obtain valid instances of this class only from the appropriate properties of the class.


The class provides you with the following initializer methods:
(other as QTPlgAudioDeviceProperties)
This is the copy constructor. The properties of the object to be copied will be used to initialize the new class instance properties

determines if mute is enabled making the audio device in use inaudible for the given scope
specifies if there is something plugged into the jack associated with the given device and scope
specifies the scalar value of the volume control. The range is between 0.0 and 1.0 (inclusive)
specifies the value of the volume control in dB. Suitable values range within the interval defined by the class property
specifies the minimum and maximum dB values the control in use can have
a numerical range where the start value represents the left channel and the end value the right channel; these values indicate the channel numbers to use for stereo IO on the device. The values returned can be different for input and output and there are no restrictions on the channel numbers that can be used