Contents

gain

The mixer’s volume.

Declaration

var gain: Double { get }

Discussion

The framework clamps the value to the range between 0 and 1, where 0 silences the mixer’s volume and 1 doesn’t modify the volume.

See Also

Adjusting Volume