Change / Select audio input on Android [Help needed]

Started by deskwizard, October 06, 2014, 01:57:30 AM

Previous topic - Next topic

deskwizard

Good evening,

I was wondering if anyone had success in having the line-in and FM-in audio inputs working in Android.

I am looking for a way to have them pass through to the line-out audio output when they are not muted.
I've had a play around with alsa mixer and couldnt get it working for the life of me.

Even changing the default mic input to the line in could work in my case I guess.

If anybody has an idea on where I could start looking, please drop me a line.

On a side note, I have the RDA5807M radio tuner partially working in command line, full code will be posted once tweaks are finished.

Thank you,

DW

PS: I have made some modifications to the audio hardware HAL to be able to select the audio output (HDMI or analog) when HDMI is connected with a prop settings. Could be nice if I could find a similar way to implement capture device selection.