This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How does Android routes voice call audio?

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

  • Please refer to OMAPZoom Android repository we have a working Bluetooth Audio support there for OMAP3.  We will integrate this feature on arowboat.org shortly.

     

    Regards,

    Khasim

  • Hi Khasim,

     

    This is very good news. I would also really appreciate you giving me some idea of the timeline for this integration. We need some basic functionality available before the end of the year. 

    Also, if you have any high-level design documentation you can share, so I can have an idea what to expect, it would be of great help too (one-pager with block diagram and SW components will do just fine).

     

    Thanks,

    Michael