diff options
Diffstat (limited to 'libs/midi++2/mmctest.cc')
-rw-r--r-- | libs/midi++2/mmctest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/midi++2/mmctest.cc b/libs/midi++2/mmctest.cc index 69155ba553..9259e3ad2b 100644 --- a/libs/midi++2/mmctest.cc +++ b/libs/midi++2/mmctest.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Paul Davis + Copyright (C) 2012 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,7 +43,7 @@ MachineControl *mmc; MachineControl::CommandSignature cs; MachineControl::ResponseSignature rs; -int +int setup_midi () { @@ -55,7 +55,7 @@ setup_midi () if ((port = MIDI::Manager::instance()->add_port (midi_device)) == 0) { info << "MIDI port is not valid" << endmsg; return -1; - } + } mmc = new MachineControl (*port, 0.0, cs, rs); @@ -124,7 +124,7 @@ main (int argc, char *argv[]) error << "cannot read byte" << endmsg; break; - } + } } } |