Audio Management

You can manage multiple streams of audio using various audio policies. The policies control audio ducking (referred to as simply ducking), audio ramping (referred to as simply ramping), and using audio preemption (referred to as simply preemption).

Ducking is an audio effect that's used to manage concurrent audio playback where the playing of one audio stream causes the volume of another to decrease. The decision whether one audio stream causes another stream to duck (lower in volume) is based on priorities that you configure.

Ramping is an audio effect that gradually increases or decreases the volume of an audio stream so that it fades in or fades out. This effect gradually increase or decrease the volume so that when ducking occurs, it is less abrupt.

Preemption is a configuration option that causes the system to temporarily suspend the play of an audio stream based on audio management policies in place in the system. Automatically suspending or pausing audio is an option that can be specified on an audio type in the audio policy configuration file.

These audio policies can be configured on a system using the audio policy configuration file, which can be specified when you start io-audio. If you application needs to monitor for audio management changes your system, you can use control events. For more information, see Control events in the Audio Architecture chapter of this guide.