From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] Use rawmidi device name for sequencer client name Date: Thu, 28 Nov 2002 17:23:35 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 28 Nov 2002 17:00:35 +0100 (MET), Clemens Ladisch wrote: > > Takashi Iwai wrote: > > Clemens Ladisch wrote: > > > The snd_seq_midisynth_register_port() function already knows the name of > > > the rawmidi device, so there is no reason to invent another name for the > > > sequencer client. > > > > the reason was that many rawmidi devices give the same name even if > > there are many. for example, mpu401 sets only "MPU-401 (UART)" as its > > name. > > although the card can be distinguished by the client number, it would > > be better to be able to know only from its name string. > > The maybe we could add the card number or id to the string. > "MPU-401 (card42)" would be better than "External MIDI 42-0". ok, now, the question is whether this "(cardx)" is included in each rawmidi name or put in seq_midi.c. if we use the rawmidi name with the card id, each rawmidi creator should be responsible. Takashi ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en