Skip to content

Latest commit

 

History

History
101 lines (75 loc) · 3.28 KB

ksproperty-audio-quality.md

File metadata and controls

101 lines (75 loc) · 3.28 KB
title description keywords topic_type ms.topic api_name api_location api_type ms.date
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).
KSPROPERTY_AUDIO_QUALITY Audio Devices
apiref
reference
KSPROPERTY_AUDIO_QUALITY
Ksmedia.h
HeaderDef
03/06/2023

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

Get Set Target Property descriptor type Property 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