Skip to content

Commit

Permalink
Fix qmidiin.cpp to show the correct port string
Browse files Browse the repository at this point in the history
  • Loading branch information
bratner authored and jcelerier committed Mar 15, 2022
1 parent d13eed0 commit e935d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/qmidiin.cpp
Expand Up @@ -55,7 +55,7 @@ try
signal(SIGINT, [](int) { done = true; });

// Periodically check input queue.
std::cout << "Reading MIDI from port " << midiin.get_port_name() << " ... quit with Ctrl-C.\n";
std::cout << "Reading MIDI from port " << midiin.get_port_name(port) << " ... quit with Ctrl-C.\n";
while (!done)
{
auto msg = midiin.get_message();
Expand Down

0 comments on commit e935d45

Please sign in to comment.