| Microsoft DirectX 9.0 |
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 that receive the volume. Divide by 100 to get equivalent decibel value. For example, 10,000 is 100 dB.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description |
| E_NOTIMPL | The filter graph does not contain an audio renderer filter. (Possibly the source does not contain an audio stream.) |
| E_POINTER | Null pointer argument. |
| S_OK | Success. |
See Also