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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] on ALSA's virmidi module
From: Frank Barknecht (fbar_AT_footils.org)
Date: Mon Oct 20 2003 - 13:17:14 EEST


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__


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Oct 20 2003 - 13:18:50 EEST