Hello,
I need to access to the ring/mute switch state. I have many apps with SoloAmbient AudioSession, so users can switch off the sound of the app with the ring/mute switch state (very common functionnality apparently). I'd like to access the mute switch state to know if the user is using the app with or without the sound.
After a lot of searching, it seems that all previous methods to do that (AudioSession's current route, time needed to play a mute sound with an audio player etc.) don't work anymore. I tried everything I could to check the status of the audio chain in AVAudioSession and AVAudioEngine, but it seems that the mute action happens further downstream.
I'd like to have a confirmation from Apple audio team : There really isn't any way to access the mute switch state ?
Thanks
Tom