Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[q] About redirecting msm8974 call audio using tinymix/amix

$
0
0
Hello,

I'm trying to figure out how to redirect call audio from both endpoints to the free ALSA FE's (frontends) using the SoC mixer. For example, if I have the two free endpoints Multimedia1 (hw:0,0) and Multimedia2 (hw:0,1) how I can re-route the speaker/mic audio to hw:0,0 and GSM/Radio audio to hw:0,1 ?
The same applies to the Bluetooth and 3.5mm headset audio. For now I've figured out how to re-route the Bluetooth audio to hw:0,0 using these mixer commands :

...
tinymix 'INTERNAL_BT_SCO_RX_Voice Mixer CSVoice' 0
tinymix 'Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice' 0
tinymix 'INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1' 1
tinymix 'MultiMedia1 Mixer INTERNAL_BT_SCO_TX' 1
...

Though the Bluetooth audio is still mangled by some VAD algorithm - it is still unknown for me is this VAD algo coming from Bluetooth or from some DSP embedded inside the Qualcomm SoC ?

I've saw the single post at stackoverflow, please do not send me to it again - the post is close but still not helpful. It will be good if somebody can draw (or describe) the mix diagram inside this SoC or provide the exact tinymix/amix re-route commands at least ;)

Thanks in advance !

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>