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:
@@ -82,7 +82,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
dac.openStream( ¶meters, NULL, format, (unsigned int)Stk::sampleRate(), &bufferFrames, &tick, (void *)&grani );
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -90,7 +90,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
dac.startStream();
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -105,7 +105,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
dac.closeStream();
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user