At Wed, 19 Feb 2003 07:40:06 -0500,
Paul Davis wrote:
> 
> a few days ago i told mark knecht that i would change the name of the
> ports that show up under the sequencer that correspond to the
> Hammerfall MIDI ports.
> 
> in looking at the code, i now realize i have no idea how to do this,
> since the port names are set up (AFAICT) by the module that maps
> rawmidi ports to the sequencer API and vice versa. 
> 
> however, the midisport 2x2 seems to be able to do this. can i get a
> pointer on how its done? or better yet, can we form all the port names
> in a consistent way, such as card->shortname + " port " + N ?

there is the name field for each rawmidi substream, and the sequencer
looks up this string.

this reminds me the former patch by Clemens, and i've forgotten to
check this issue until now.  sorry.

i modified the sequencer part (and mpu401_uart) on the cvs so that the
sequencer retrieves the rawmidi name string if the substream name is
not defined.

so, you don't have to change the hdsp code any more.


ciao,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to