audio - How to mix sound from two devices using tinyAlsa on Android -


i'm working on custom board running android 4.2.1. have things working except of proper audio routing.

i have audio codec there (wm8960 connected in i2s bus) , works servicing speakers, built-in microphone, headphones , headphones-mic. hal implemented through tinyalsa in audio_hw.c usual , works in whole system.

there second audio device (actually usb sound card) gsm modem audio connected. detected alsa without problems , can use on kernel level using aplay/arecord.

now need set proper routing when audio call established -- means have play sound microphone second audio device , vice versa. can please give me advice or example how handle using tinyalsa api?

regards jan


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -