KSAUDIOENGINE_VOLUMELEVEL
TOC
Collapse the table of content
Expand the table of content

KSAUDIOENGINE_VOLUMELEVEL structure

The KSAUDIOENGINE_VOLUMELEVEL structure specifies the target volume level, ramp type, and duration within which the volume level should change, for a given volume level request via the KSPROPERTY_AUDIOENGINE_VOLUMELEVEL property.

Syntax


typedef struct _KSAUDIOENGINE_VOLUMELEVEL {
  LONG             TargetVolume;
  AUDIO_CURVE_TYPE CurveType;
  ULONGLONG        CurveDuration;
} KSAUDIOENGINE_VOLUMELEVEL, *PKSAUDIOENGINE_VOLUMELEVEL;

Members

TargetVolume

Specifies the desired final volume level using the scale defined for the KSPROPERTY_AUDIOENGINE_VOLUMELEVEL property.

CurveType

Uses the AUDIO_CURVE_TYPE enumeration to specify the curve algorithm to apply over the duration specified, in order to reach the desired level. The curve begins at the current volume level and ends at the target volume level specified in the TargetVolume parameter.

CurveDuration

Specifies the duration, in hundreds of nanoseconds, over which the volume curve must take effect.

Requirements

Version

Windows 8

Header

Ksmedia.h

See also

AUDIO_CURVE_TYPE
KSPROPERTY_AUDIOENGINE_VOLUMELEVEL

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft