Microsoft DirectX 8.1 (Visual Basic) |
The SetVolume method sets the audio volume on the path.
object.SetVolume(lVolume As Long, lDuration As Long)
Parts
object
Resolves to a DirectMusicAudioPath8 object.
lVolume
Value that specifies the attenuation, in hundredths of a decibel.
lDuration
Value that specifies the time, in milliseconds, over which the volume change takes place. A value of 0 ensures maximum efficiency.
Error Codes
If the method fails, an error is raised.
Remarks
This method works by sending a volume