Microsoft DirectX 8.1 (C++)

IBasicAudio::get_Volume

The get_Volume method retrieves the volume (amplitude) of the audio signal.

Syntax

HRESULT get_Volume(
  long *plVolume
);

Parameters

plVolume

[out] Pointer to a variable of type long that receive the volume value. Divide by 100 to get equivalent decibel value (for example –10,000 = –100 dB).

Return Values

Returns an HRESULT value.

See Also