mirror of
https://github.com/thestk/stk
synced 2026-04-19 22:16:54 +00:00
More RtError updates in various project files.
This commit is contained in:
@@ -256,7 +256,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
adac.openStream( &oparameters, &iparameters, format, (unsigned int)Stk::sampleRate(), &bufferFrames, &tick, (void *)&data );
|
||||
}
|
||||
catch ( RtError& error ) {
|
||||
catch ( RtAudioError& error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -270,7 +270,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
adac.startStream();
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -285,7 +285,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
adac.closeStream();
|
||||
}
|
||||
catch ( RtError& error ) {
|
||||
catch ( RtAudioError& error ) {
|
||||
error.printMessage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user