The QTPlgEqualizerBandsDesc class defines properties and methods that allow you to work with sound equalizer bands settings. You will use QTPlgEqualizerBandsDesc objects whether to inspect the equalizer bands settings in use by a or to set them.
This class requires QuickTime 4.0 or later.
The QTPlgEqualizerBandsDesc class constructors are called when you create a new instance of the class, while the ˜QTPlgEqualizerBandsDesc 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. A QTPlgEqualizerBandsDesc object is valid if its buffer of frequencies has been successfully allocated (the property is greater than 0)
The class provides you with the following initializer methods:
()
This is the default constructor. The new class instance allocates an array of 8 frequencies
initialized to the following values (in Hz):
- [0]=200
- [1]=400
- [2]=800
- [3]=1600
- [4]=3200
- [5]=6400
- [6]=12800
- [7]=21000
(other as QTPlgEqualizerBandsDesc)
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 number of frequencies allocated
specifies the value of the ith level into the allocated array of bands levels (i ranges
from 0 to
–1). A band level
value ranges from 0 to 255
specifies the value of the ith frequency into the allocated array of bands frequencies
(i ranges from 0 to
–1)