Re: [LAD] Finding ALSA sequencer client/port numbers

From: David Robillard <d@email-addr-hidden>
Date: Sat Apr 23 2011 - 02:55:33 EEST

On Fri, 2011-04-22 at 22:30 +0000, Fons Adriaensen wrote:
> On Fri, Apr 22, 2011 at 06:06:54PM -0400, David Robillard wrote:
>
> > Alsa sequencer names aren't unique or intended for use as identifiers,
> > you probably don't want to do this if it's at all possible to avoid...
>
> If that's true, what purpose do they have at all ?

They are human-friendly /labels/, not /identifiers/.

> In this concrete case, I have Python class which acts as
> an interface to the Novation Launchpad. I want its ports
> to connect to the launchpad, as any other connection
> wouldn't make any sense at all. I know the names of
> the required ports, but not the numbers.

Why do you know the names of the required ports but not the numbers?

-dr

P.S. The direct USB interface to the launchpad is pretty simple, I'm
driving mine without Alsa or MIDI anything at all

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Apr 23 04:15:06 2011

This archive was generated by hypermail 2.1.8 : Sat Apr 23 2011 - 04:15:06 EEST