Dear Android experts,
I am trying to understand whether or not Android handles the phone conversation's audio stream or it is done outside Android's framework. Specifically, if, for example, Android controls a cellular processor that provides PCM interface for voice conversation and there is a need to send audio over Bluetooth instead of using mic/speakers, how this is handled?
There are two ways here to the best of my understanding:
1. Route PCM from cellular to audio port on Android CPU, then let Android receive the stream and send it to BT stack for processing and eventually pushing to BT hardware over HCI
2. Have Android control a HW switch that will route PCM directly to BT HW using direct PCM interface
Which one applies? Is there a preferable way (best usage of resources provided by Android)?
Your advice is very much appreciated
Thanks,
Michael