volume Change
fun EffectsBuilder.volumeChange(inputChannels: Int, outputChannels: Int = 2, volumeChangeProvider: VolumeChangeProvider): EffectsBuilder
Add VolumeChangeProcessor effect that you can use to change the volume of the audio stream over time.
Parameters
input Channels
The number of input channels.
output Channels
The number of output channels (defaults to stereo - 2).
volume Change Provider
The VolumeChangeProvider that will provide the volume change over time.
fun EffectsBuilder.volumeChange(inputChannels: Int, volume: Float = 1.0f, outputChannels: Int = 2, volumeChange: VolumeChangeProvider.(timeUs: Long) -> Float = { volume }): EffectsBuilder
Add VolumeChangeProcessor effect that you can use to change the volume of the audio stream over time.
Parameters
input Channels
The number of input channels.
output Channels
The number of output channels (defaults to stereo - 2).
volume
The initial volume of the audio stream.
volume Change
The function that will provide the volume change over time.