mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
More RtError updates in various project files.
This commit is contained in:
@@ -36,7 +36,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
midiout = new RtMidiOut();
|
||||
}
|
||||
catch ( RtError& error ) {
|
||||
catch ( RtMidiError& error ) {
|
||||
error.printMessage();
|
||||
exit(0);
|
||||
}
|
||||
@@ -48,7 +48,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
midiout->openVirtualPort();
|
||||
}
|
||||
catch ( RtError& error ) {
|
||||
catch ( RtMidiError& error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -62,7 +62,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
midiout->openPort( port );
|
||||
}
|
||||
catch ( RtError& error ) {
|
||||
catch ( RtMidiError& error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user