13
0

Fixed IO selector to show MIDI ports for MIDI IOs, instead of audio ports.

git-svn-id: svn://localhost/ardour2/trunk@1817 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-05-10 04:45:38 +00:00
parent 9a4a9cbb63
commit 0c0879ca1c

View File

@ -335,7 +335,7 @@ IOSelector::rescan ()
/* get relevant current JACK ports */
ports = session.engine().get_ports ("", JACK_DEFAULT_AUDIO_TYPE, for_input ? JackPortIsOutput : JackPortIsInput);
ports = session.engine().get_ports ("", io->default_type().to_jack_type(), for_input ? JackPortIsOutput : JackPortIsInput);
if (ports == 0) {
return;