Type Alias


A type for expressing gain in decibels.


typealias AudioPlaybackController.Decibel = Double

See Also

Setting the Volume

var gain: AudioPlaybackController.Decibel

The gain in decibels of the audio playback controller output.

func fade(to: AudioPlaybackController.Decibel, duration: TimeInterval)

Transitions the gain to the given value over a time interval using a linear curve.