Hi! I'm facing an annoying problem. I'm currently using a RIoTboard (Android KitKat) with speakers connected to the audio output and a screen (built-in speakers) connected to the HDMI output. I want to route audio signals the following ways:
- Same signal towards all the speakers
- One signal towards the speakers and another one towards the screen
Because of all the abstraction layers, I can't find any solution. Here's what I was looking into:
- Using NDK
- Using AudioManager class and its awfully undocumented setParameters method
- "hacking" Android way of managing audio streams by using streams differently (e.g. music -> alarm stream)
Any clues?
Thanks in advance!