Type Alias

AudioPlaybackController.Decibel

A type for expressing gain in decibels.

Declaration

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.