This class lets you to deal with the sound channels created with the the appropriate of the class.
→ → →
The QTPlgChannelSound class constructors are called when you create a new instance of the class, while the ˜QTPlgChannelSound 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 list of the class.
The class provides you with the following initializer methods:
(other as QTPlgChannelSound)
This is the copy constructor. The properties of the object to be copied will be used to initialize the
new class instance properties
specifies the current channel’s volume setting; volume values
range
from –255 to 255.
Negative values play no sound but preserve the absolute value of the volume setting.
Therefore, the current state of the volume can be toggled by inverting the sign of the current volume setting
Since version 6.0 of the plugin, the volume values are expressed as percent in order to unify the meaning of this property
between this class and the new subclass
specifies the current channel’s gain expressed as an integer value ranging from 50 to
150
this property allows you wether to retrieve informations about the channel configuration or modify it programmatically.
The following
of the
class affect the channel configuration:
detrmines the device devoted to the recording audio task. For a QTPlgChannelSound object, the device set or got
using this property is the same as that one specified by the
property (that is there is no
distinction between preview and record devices). Instead, a
object allows you to set up different devices for previewing
and recording audio