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:
@@ -133,7 +133,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
dac.openStream( ¶meters, NULL, format, (unsigned int)Stk::sampleRate(), &bufferFrames, &tick, (void *)&data );
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -152,7 +152,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
dac.startStream();
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -165,7 +165,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