From: Alan Horstmann Subject: Re: seq_midi client names Date: Thu, 13 Apr 2006 13:54:45 +0100 Message-ID: <200604131354.45544.gineera@aspect135.co.uk> References: <200604121402.48859.gineera@aspect135.co.uk> <20060412155948.GB21693@turing.informatik.uni-halle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060412155948.GB21693@turing.informatik.uni-halle.de> Content-Disposition: inline Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Wednesday 12 April 2006 16:59, you wrote: > info->name is the device name, the port name would be info->subname > (which isn't set for most single-port devices). Ah, thanks. Probably I've been mis-using the term 'port'. The ice1712 envy24 chip provides two mpu401 uart ports. Is this the same use of the term, ie the hardware wired to the panel connectors that midi uses; can a midi device have more than one port? So rmidi->name is a device name, not port name? > When there is more than one RawMIDI port, it would make sense to use a > (common) client name that is card specific rather than port specific. > I hope this wouldn't be too confusing for cards that have only one MIDI > port. > The id is just an internal identifier, shortname would be better. I'll post a patch to change seq_midi to use card->shortname instead of info->name for the new client name, if that is OK with you? Regards Alan ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642