setVolume

open fun setVolume(volume: Double)

Sets the volume for the underlying MediaSource. Volume is a gain value in the range 0 to 10.