Changes

Detecting a Change to the Audio Hardware Route
== Detecting a Change to the Audio Hardware Route ==
<google>IOSBOX</google>
In order to detect that a connection to either the iPhone headphone or docking connector has been unplugged or reconnected it is necessary to configure a property listener on the kAudioSessionProperty_AudioRouteChange property of the current audio session and, in so doing, specify a callback to be triggered when a change to this property occurs.