[alsa-devel] [PATCH] Provide card number / PID via sequencer client info

Takashi Iwai tiwai at suse.de
Mon Feb 15 23:34:09 CET 2016


On Mon, 15 Feb 2016 22:44:54 +0100,
Martin Koegler wrote:
> 
> On Mon, Feb 15, 2016 at 08:08:12PM +0100, Takashi Iwai wrote:
> > On Mon, 15 Feb 2016 19:32:43 +0100,
> > Martin Koegler wrote:
> > > 
> > > On Mon, Feb 15, 2016 at 11:30:15AM +0100, Takashi Iwai wrote:
> > > > The idea looks good.  One remaining question is whether only providing
> > > > the card number or pid is sufficient for all cases.
> > > 
> > > I only care about the kernel client. 
> > 
> > Well, the question is whether only card number is enough.  What if
> > cards provide multiple rawmidi devices?
> 
> Aren't they currently ports?
> seq_midi.c creates just one sequencer device per card number.

Look at cards with synth support, e.g. emu10k1 or OPL3/OPL4.


Takashi


More information about the Alsa-devel mailing list