The KSPROPERTY_AUDIO_EQ_LEVEL property specifies the equalization levels for an equalization table that contains entries for n frequency bands. This is a property of a channel in an EQ node (KSNODETYPE_EQUALIZER).
Usage Summary Table
|Get||Set||Target||Property descriptor type||Property value type|
The property value (operation data) is an array of LONG elements:
If the channel's equalization table contains entries for N frequency bands, the array contains N elements and each element specifies the level for one of the bands in the equalization table. The assignment of bands to array elements is shown in the following table.
Array Element Description Level
Level for band 0.
Level for band 1.
Level for band N-1.
Level values use the following scale:
-2147483648 is -Infinity decibels (attenuation),
-2147483647 is -32767.99998474 decibels (attenuation), and
+2147483647 is +32767.99998474 decibels (gain).
A decibel range represented by integer values -2147483648 to +2147483647, where
This scale has a resolution of 1/65536 decibel.
A KSPROPERTY_AUDIO_EQ_LEVEL property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code.
The filter will succeed a KSPROPERTY_AUDIO_EQ_LEVEL set-property request that specifies a value that is beyond the range of the filter but will clamp the value to the supported range. In a subsequent request to get this property, however, it will output the actual value used.
The number of equalization bands can be determined by first submitting a KSPROPERTY_AUDIO_NUM_EQ_BANDS request.
The center frequencies of the equalization bands are specified by the KSPROPERTY_AUDIO_EQ_BANDS property.
|Ksmedia.h (include Ksmedia.h)|