On Wed, Aug 18, 2010 at 09:44:05PM +0200, Olof wrote:
I still don't understand where the actual audio material has its origin, or where it should be sent to, respectively.
Origin is anything the user would choose to play on a "normal" system. Pure sound from CD, mp3, ogg, wma played with xmmls, totem movie player etc. Any application used to play sound on a Linux box. The PCM stream would be compressed and transmitted over TCP/IP to the smartphone which would play it on its output.
Jup. You can easily do that by capturing the PulseAudio master monitor and do whatever you like with the data inside your PulseAudio client.
Another option - in case you have full control over the code running on the smart phone - is to make the phone act as PulseAudio network service, so multiple other network members could send audio to it, or receive audio from it. With or without authentication, compressed or uncompressed and all that, depending on your implementation.
Daniel