Re: [Alsa-user] Sending all audio over socket

2015-05-07 Thread Guru Prasad
I had some luck with the named pipe setup. I was able to set up .asoundrc to write to a named pipe in /tmp and then send this data over a socket and play it on another machine. However, all (audio) applications freeze until my program (which reads from the pipe) begins to run. This is expected

Re: [Alsa-user] Sending all audio over socket

2015-05-07 Thread Sergei Steshenko
However, all (audio) applications freeze until my program (which reads from the pipe) begins to run. This is expected behaviour of named pipes. I believe I can solve this by modifying the PCM 'default' dynamically. - well, to me it sounds like your overall application should be a

Re: [Alsa-user] Sending all audio over socket

2015-05-06 Thread Guru Prasad
Could you give me an example of how I can ask the PCM file plugin to write to a named pipe? Should i create this manually or can I somehow do this via the PCM file plugin itself by using the '|' character? Also, don't named pipes block until there is a reader? Given that I've only been able to do