[linux-audio-user] on ALSA's virmidi module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo,
Clemens Ladisch hat gesagt: // Clemens Ladisch wrote:

> Frank Barknecht wrote:
> > Dave Phillips hat gesagt: // Dave Phillips wrote:
> > >        export ALSA_RAWMIDI_DEVICE=hw:1,0
> >
> > Cool. But I find it a bit strange, that Keyit uses the PCM definition
> > for midi access.
> 
> This isn't a PCM definition, it's a RawMIDI definition (which happens
> to have the same name). All ALSA devices implemented in the kernel are
> accessed by a plugin named "hw". See /usr/share/alsa/conf/alsa.conf
> for the various definitions (pcm, ctl, rawmidi, seq, hwdep, timer).
> 
> It's possible to give some rawmidi port its own name, just like pcms:
> 
> 	rawmidi.my_virtual {
> 		type hw
> 		card 1
> 		device 0
> 	}
> 
> then you could use my_virtual instead of hw:1,0.


Oh, cool, I didn't know that (obviously...) ^_^ 
Thanks for explaining. 

ciao
-- 
 Frank Barknecht                               _ ______footils.org__

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux