次の方法で共有


IMSVidAudioRenderer::put_Volume method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The put_Volume method specifies the audio renderer's volume level.

Syntax

HRESULT put_Volume(
  [in] long lVol
);

Parameters

[in] lVol

Specifies the volume level, in units of .01 decibel (dB).

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Full volume is 0 and silence is �10,000. Multiply the desired decibel level by 100; for example, �100 dB is �10,000.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IBasicAudio::put_Volume

IMSVidAudioRenderer Interface

IMSVidAudioRenderer::get_Volume