Microsoft DirectX 9.0

MSVidAudioRenderer.Volume

This topic applies to Windows XP 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 0, inclusive.

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