Commit c7a20bb5 authored by sletz's avatar sletz
Browse files

Use SetAlias for port naming. Use jackd midi port naming scheme(3)

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1847 0c269be4-1314-0410-8aa9-9f06e86f4224
parent fc2c8f70
......@@ -421,7 +421,7 @@ void midi_port_init(const alsa_rawmidi_t *midi, midi_port_t *port, snd_rawmidi_i
}
static
inline int midi_port_open_jack(const alsa_rawmidi_t *midi, midi_port_t *port, int type, const char *alias)
inline int midi_port_open_jack(alsa_rawmidi_t *midi, midi_port_t *port, int type, const char *alias)
{
char name[64];
......@@ -434,7 +434,7 @@ inline int midi_port_open_jack(const alsa_rawmidi_t *midi, midi_port_t *port, in
type | JackPortIsPhysical|JackPortIsTerminal, 0);
if (port->jack)
jack_port_set_alias(port->jack_port,alias);
jack_port_set_alias(port->jack, alias);
return port->jack == NULL;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment