setVolume

abstract fun setVolume(volume: Float)(source)

Sets monitor volume in 0f..1f.

Requires PlayerFeature.AudioMonitoring. Monitor volume only, it does not reach the exported file. Gain that should end up in the file belongs in the composition's audio spec.