Volume

class Volume(val gain: Float) : AudioLevel(source)

Contribute at a scaled gain.

Constructors

Link copied to clipboard
constructor(gain: Float)

Properties

Link copied to clipboard
val gain: Float

The scale to apply, where 1f is unchanged, 0f matches Mute and anything above 1f boosts. Has to be finite and not negative.