Развернуть Свернуть

KSPROPERTY_AUDIO_QUALITY

The KSPROPERTY_AUDIO_QUALITY property specifies the quality level of a node's output stream. This is a property of an SRC node (KSNODETYPE_SRC).

Usage Summary Table

GetSetTargetProperty descriptor typeProperty value type

Yes

Yes

Pin

KSNODEPROPERTY

ULONG

 

The property value (operation data) is of type ULONG and indicates the output stream's quality level. This value should be set to one of the following constants from header file Ksmedia.h:

KSAUDIO_QUALITY_WORST

Worst quality

KSAUDIO_QUALITY_PC

Standard computer quality (with no constraints)

KSAUDIO_QUALITY_BASIC

Basic (low-end) consumer audio quality (default value)

KSAUDIO_QUALITY_ADVANCED

Advanced (high-end) consumer audio quality

Return Value

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

Remarks

For information about the types of sample-rate conversion that the KMixer system driver performs, see KMixer Driver Sample Rate Conversion and Mixing Policy.

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSNODETYPE_SRC
KSNODEPROPERTY

 

 

Send comments about this topic to Microsoft

Показ:
© 2014 Microsoft