usbaudio icon indicating copy to clipboard operation
usbaudio copied to clipboard

android device as sink

Open 257 opened this issue 6 years ago • 4 comments

can it send audio from linux to android? use case here is to send playing music on pc to android and have Shazam identify the song.

257 avatar Jun 20 '19 13:06 257

can it send audio from linux to android?

No. :(

rom1v avatar Jun 20 '19 19:06 rom1v

I wonder if there is a better way than using https://github.com/amosbird/SimpleProtocolPlayer . Currently via the gnirehtet tunnel, the audio latency is around 1 second.

amosbird avatar Aug 10 '19 16:08 amosbird

@amosbird Several years ago, I implemented a "real-time" talkie-walkie (https://github.com/rom1v/batphone/commit/3059bc4cb78c3f537f5fdfcfbd9a05a67a17b7c7) between Android devices on a Mesh network. A cache of 100ms was sufficient, so I guess you can get a latency far lower than 1 second on a "normal" network.

rom1v avatar Aug 10 '19 17:08 rom1v

Yes, the problem isn't related to network, but the quality of the audio stream. I think I might need a pulseaudio client written with https://github.com/google/oboe

amosbird avatar Aug 11 '19 17:08 amosbird