Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The Volume property sets or retrieves the audio renderer's volume level.
Syntax
objMSVidAudioRenderer.Volume As Long
Parameters
This property takes no parameters.
Error Codes
If the property fails, an error is raised and Err.Number is set to a value other than zero.
Return Values
Returns a number from -10,000 to 10,000.
Remarks
Full volume is 0 and silence is 10,000. Divide by 100 to get the equivalent decibel value; for example, 10,000 is 100 dB.
This property is read/write.
See Also