Share via


Audiopath.GetVolume

Windows Media Encoder SDK banner art

The GetVolume method retrieves the volume for all segments and songs playing through this audiopath.

iVolume = object.GetVolume()

Parts

object

Required. Object expression that resolves to an Audiopath Object.

Return Values

Returns an integer in the range from -9600 through 0.

Remarks

If Audiopath.SetVolume has been called, this method returns the new volume specified in that call, even if the new volume has not been reached because the duration has not elapsed.