IMSVidAudioRenderer::put_Volume Method

This topic applies to Windows XP or later.
The put_Volume method specifies the audio renderer's volume level.

Syntax

HRESULT put_Volume(
  [in]  long lVol
);

Parameters

  • lVol [in]
    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

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IBasicAudio::put_Volume
IMSVidAudioRenderer Interface
IMSVidAudioRenderer::get_Volume

Send comments about this topic to Microsoft

Build date: 12/4/2008