Bewerken

Delen via


KSPROPERTY_AUDIO_DYNAMIC_RANGE

The KSPROPERTY_AUDIO_DYNAMIC_RANGE property specifies the dynamic range of the audio stream that is output from a loudness node (KSNODETYPE_LOUDNESS).

Usage Summary Table

Get Set Target Property descriptor type Property value type

Yes

Yes

Filter

KSNODEPROPERTY

KSAUDIO_DYNAMIC_RANGE

The property value (operation data) is a structure of type KSAUDIO_DYNAMIC_RANGE, which specifies the dynamic range for the loudness node's output stream.

Return Value

A KSPROPERTY_AUDIO_DYNAMIC_RANGE property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code.

Remarks

By default, the values for the QuietCompression and LoudCompression members of the KSAUDIO_DYNAMIC_RANGE structure are set to zero percent. This produces the full dynamic range of the audio stream. The miniport driver sets the property to its default value when it instantiates the pin whose data path contains the node.

Some devices might not support changes to QuietCompression and LoudCompression. If the client attempts to change a value that the device does not support, the miniport driver should return an error.

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSNODEPROPERTY

KSNODETYPE_LOUDNESS

KSAUDIO_DYNAMIC_RANGE