iPhoneX and iPadPro families have 4 internal speakers (or two stereo channels) one at the bottom and another on top of the device.
I am looking for ways to choose the output channel using AVAudioSession (or else) without necessarily changing mode or category of the session.
AVAudioSession's setPreferredOutputNumberOfChannels seems to be ineffective. I can see that there are two channels but unable to specify the root.
Note: it seems that putting AVAudioSession in VideoRecording mode or VideoChat will somehow do this to avoid feedback from speakers to (nearby) microphones. However, I do not want to switch to those categories as they introduce unwanted overhead for audio processing in our case.
Has anyone come across this issue?
Thanks in advance,
Arshia Cont