次の方法で共有


IBasicAudio::get_Volume (Compact 2013)

3/26/2014

This method retrieves the volume (amplitude) of the audio signal.

Syntax

HRESULT get_Volume(
  long* plVolume
);

Parameters

  • plVolume
    [out] Returned value of the Volume property. Divide by 100 to get equivalent decibel value (for example -10,000 = -100 dB).

Return Value

Returns an HRESULT value.

Remarks

DirectShow applications and DirectShow filters have different include file and link library requirements.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IBasicAudio Interface