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
Post a Comment