On Fri, 2006-09-22 at 20:04 +0200, Clemens Ladisch wrote: > Lee Revell wrote: > > # aplaymidi -l > > Port Client name Port name > > 64:0 Dreamchip MPU interface 1 Dreamchip MPU interface 1 > > 64:32 Dreamchip MPU interface 1 Dreamchip MPU interface 2 > > > > Why do both ports get "Dreamchip MPU interface 1" for the client name? > > Because there is only one client. > > The client name comes from the card's shortname. Sorry, but you are wrong - the client name does not come from the card's shortname. The client gets the name of the first port registered. I changed my code to: 212 213 if ((err = snd_dream_midi_init(dream, midi2, 1, "MIDI Out")) < 0) 214 return err; 215 midi2->port = MPU1_DATA; 216 217 if ((err = snd_dream_midi_init(dream, midi1, 0, "GM Synth")) < 0) 218 return err; 219 midi1->port = MPU1_DATA; 220 And now I get: Port Client name Port name 64:0 GM Synth GM Synth 64:32 GM Synth MIDI Out How can I name the client independently from the ports? Lee ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel