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

[Alsa-user] Sending all audio over socket

2015-05-06 Thread Guru Prasad
Hi, I'm trying to write an application that can hook into ALSA and receive all audio and send it across the network. I realize that JACK and Pulse are probably better suited for implementing this, but I would like to be able to run this on most Linux machines including smartphones(hopefully). Cur

Re: [Alsa-user] assign Midi port client number

2015-05-06 Thread Ralf Mardorf
On Wed, 6 May 2015 20:23:44 +0200, Menno Knevel wrote: >Is there a way to assign my M Audio Delta 1010 midi port to a fixed >number, for example 20? I suspect that you device sometimes is hw:0 and sometimes hw:1 To /etc/modprobe.d/alsa-base.conf add # ALSA module ordering options snd slots=sn

[Alsa-user] assign Midi port client number

2015-05-06 Thread Menno Knevel
When i use aconnect -i -o, sometimes my soundcard has Midi port 20, after a reboot it becomes Midi port 16 client 0: 'System' [type=kernel] 0 'Timer ' 1 'Announce' client 14: 'Midi Through' [type=kernel] 0 'Midi Through Port-0' client 16: 'M Audio Delta 1010' [type=ke