• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to build a WiFi based headphone on Android

It seems that Android platform accepts four types of audio interface: built-in speaker/mic, plug-in speaker/mic, USB speaker/mic and bluetooth speaker/mic. Can we add a fifth audio interface that comes through WiFi? There are multiple use cases for such interface, e.g., we can replace speaker/mic on phone with the ones on laptop through WiFi and enjoy better audio quality. There are multiple apps that do the reverse (use Android phone as an external Mic for desktop) but no app in this direction.
It's challenging, right? We need to add a new audio interface that can be accepted by Android OS. We may also modified the existing bluetooth driver so that it handles the WiFi interface instead of bluetooth (we lose the ability of bluetooth connection but in my case this is acceptable). I don't mind if I have to root the phone.
So, what is the best/simplest solution? What modules/drivers should I modify, the tiny-alsa library/driver I guess? Any similar codes or apps? Any suggestions/experiences are appreciated.

 
This is a complex thing to do. ...well depending on what kind of application you are building. Delay is the main focus here and I found an answer that links to a great blog post you can read to start: algorithm - synchronizing audio over a network - Stack Overflow

If you make any progress.. do post and once you get this going I would be more than happy to help out in this project. It would be great to share code back and forth here so others could learn as well.

Good Luck!
 
Back
Top Bottom