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

@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
try {
adac.openStream( &oParams, &iParams, FORMAT, fs, &bufferFrames, &inout, (void *)&bufferBytes, &options );
}
catch ( RtError& e ) {
catch ( RtAudioError& e ) {
std::cout << '\n' << e.getMessage() << '\n' << std::endl;
exit( 1 );
}
@@ -127,7 +127,7 @@ int main(int argc, char *argv[])
// Stop the stream.
adac.stopStream();
}
catch ( RtError& e ) {
catch ( RtAudioError& e ) {
std::cout << '\n' << e.getMessage() << '\n' << std::endl;
goto cleanup;
}