More RtError updates in various project files.

This commit is contained in:
Gary Scavone
2014-04-11 09:44:49 -04:00
parent caf7d2f2eb
commit a239b58651
13 changed files with 39 additions and 36 deletions

View File

@@ -17,7 +17,7 @@ int main()
try {
midiin = new RtMidiIn();
}
catch ( RtError &error ) {
catch ( RtMidiError &error ) {
error.printMessage();
exit( EXIT_FAILURE );
}
@@ -31,7 +31,7 @@ int main()
try {
portName = midiin->getPortName(i);
}
catch ( RtError &error ) {
catch ( RtMidiError &error ) {
error.printMessage();
goto cleanup;
}
@@ -42,7 +42,7 @@ int main()
try {
midiout = new RtMidiOut();
}
catch ( RtError &error ) {
catch ( RtMidiError &error ) {
error.printMessage();
exit( EXIT_FAILURE );
}
@@ -54,7 +54,7 @@ int main()
try {
portName = midiout->getPortName(i);
}
catch ( RtError &error ) {
catch ( RtMidiError &error ) {
error.printMessage();
goto cleanup;
}