Route MIC input through headset and at the same time AUDIO output through same headset

88 Views Asked by At

In my app, I need to take input voice(surrounding noise)from the headset and at the same time need to play some tone as output sound in the headset.

However, during the search, I found that it is not possible to input the noise and send the output as sound/music. But with voice calls, When using Bluetooth SCO the input (microphone) and output (speaker) audio are managed separately by the system. During a phone call, Android's telephony stack handles this functionality, enabling both the microphone input and speaker output through the Bluetooth SCO connection.

I have used below to use the headset mic.

audiomanager.setBluetoothScoOn(true);

is there any way to take input from the headset and send output some music) at the same time?

0

There are 0 best solutions below