Global Variable

kAudioSession_AudioRouteKey_Outputs

A CFArrayRef object containing details about the audio output used in the current audio route.

Declaration

const CFStringRef kAudioSession_AudioRouteKey_Outputs;

Discussion

If there is an audio output available, the array usually contains one CFDictionaryRef object with a single key, namely kAudioSession_AudioRouteKey_Type, whose value is one of the constants in Audio Output Routes.

In certain circumstances, such as when a ringtone is being sent to the device speaker and to a connected headset, the array contains more than one dictionary.

If no audio output is available, the array is empty.