fade Audio Out Effect
fun fadeAudioOutEffect(totalDurationUs: Long, inputChannels: Int, outputChannels: Int = 2, initialVolume: Float = 1.0f, finalVolume: Float = 0.0f, fadeDurationUs: Long = TimeUnit.SECONDS.toMicros(1)): VolumeChangeProcessor
Creates an VolumeChangeProvider that you can use to fade the audio out at the end of the video.
Parameters
total Duration Us
The total duration of the video in microseconds.
input Channels
The number of input channels.
output Channels
The number of output channels (defaults to stereo - 2).
initial Volume
The initial volume of the audio stream.
final Volume
The final volume of the audio stream.
fade Duration Us
The duration of the fade out in microseconds.