summaryrefslogtreecommitdiff
path: root/tests/sysextest.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/sysextest.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/sysextest.cpp')
-rw-r--r--tests/sysextest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sysextest.cpp b/tests/sysextest.cpp
index a11ec16..68b9a0d 100644
--- a/tests/sysextest.cpp
+++ b/tests/sysextest.cpp
@@ -56,7 +56,7 @@ int main( int argc, char *argv[] )
midiout = new RtMidiOut();
midiin = new RtMidiIn();
}
- catch ( RtError &error ) {
+ catch ( RtMidiError &error ) {
error.printMessage();
goto cleanup;
}
@@ -69,7 +69,7 @@ int main( int argc, char *argv[] )
if ( chooseMidiPort( midiin ) == false ) goto cleanup;
if ( chooseMidiPort( midiout ) == false ) goto cleanup;
}
- catch ( RtError &error ) {
+ catch ( RtMidiError &error ) {
error.printMessage();
goto cleanup;
}