summaryrefslogtreecommitdiff
path: root/tests/midiout.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2013-12-29 22:05:48 -0800
committerGary Scavone <gary@music.mcgill.ca>2013-12-29 22:05:48 -0800
commita0d187b872eefe9efe1fa55dc1e804ddb78ecc76 (patch)
tree85331e01d14fc7dfa31fd181dd8e875b55465d2b /tests/midiout.cpp
parented94023c333c63a8b5713da1c5746ebbbe5b665b (diff)
Some error printing changes, removed ALSA global sequencer objects because they were not thread safe, various other updates suggested by Martin Koegler
Diffstat (limited to 'tests/midiout.cpp')
-rw-r--r--tests/midiout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/midiout.cpp b/tests/midiout.cpp
index 4da65c1..0a9b9fd 100644
--- a/tests/midiout.cpp
+++ b/tests/midiout.cpp
@@ -33,7 +33,7 @@ int main( int argc, char *argv[] )
try {
midiout = new RtMidiOut();
}
- catch ( RtError &error ) {
+ catch ( RtMidiError &error ) {
error.printMessage();
exit( EXIT_FAILURE );
}
@@ -42,7 +42,7 @@ int main( int argc, char *argv[] )
try {
if ( chooseMidiPort( midiout ) == false ) goto cleanup;
}
- catch ( RtError &error ) {
+ catch ( RtMidiError &error ) {
error.printMessage();
goto cleanup;
}