AdjustAudioVolume
|
AdjustAudioVolume |
Description
Adjust the audio volume or add crossfade effect on specific audio track.
Syntax
Public Function AdjustAudioVolume ( _ |
Parameter
iAudioTrack
the index of audio track. The first audio track is 0. If you set =-1, it mean it will apply this effect for all audio track.
iStartTime
the start time of effect
iStopTime
the end time of effect
iVolumeStart
the value of volume. By default is 1. The range from 0-10, 0.5 = 50% of original volume. You can produce audio fades if the iVolumeStart and iVolumeStop is different value
iVolumeStop
the value of volume. By default is 1. The range from 0-10, 0.5 = 50% of original volume. You can produce audio fades if the iVolumeStart and iVolumeStop is different value
Return Value
Return true - successful
Return false - Failed
Example
Visual Basic Syntax |