From: Takashi Iwai <tiwai@suse.de>
To: Paul Davis <paul@linuxaudiosystems.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: MIDI port names
Date: Wed, 19 Feb 2003 14:46:01 +0100 [thread overview]
Message-ID: <s5h1y24gz8m.wl@alsa2.suse.de> (raw)
In-Reply-To: <200302191240.h1JCe6A18300@linuxaudiosystems.com>
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
next prev parent reply other threads:[~2003-02-19 13:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-19 12:40 MIDI port names Paul Davis
2003-02-19 13:46 ` Takashi Iwai [this message]
[not found] <E18lUe8-0003K3-00@sc8-sf-list2.sourceforge.net>
2003-02-19 23:46 ` Pedro Lopez-Cabanillas
2003-02-20 8:55 ` Jaroslav Kysela
2003-02-20 10:57 ` Takashi Iwai
2003-02-20 14:14 ` Jaroslav Kysela
2003-02-20 14:38 ` Takashi Iwai
2003-02-20 20:19 ` Jaroslav Kysela
2003-02-25 16:11 ` Takashi Iwai
2003-02-20 19:55 ` Pedro Lopez-Cabanillas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5h1y24gz8m.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=paul@linuxaudiosystems.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.