mirror of
https://github.com/thestk/stk
synced 2026-01-14 05:21:53 +00:00
More RtError updates in various project files.
This commit is contained in:
@@ -133,7 +133,7 @@ int main()
|
||||
try {
|
||||
dac.openStream( ¶meters, NULL, format, (unsigned int)Stk::sampleRate(), &bufferFrames, &tick, (void *)&data );
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -157,7 +157,7 @@ int main()
|
||||
try {
|
||||
dac.startStream();
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -170,7 +170,7 @@ int main()
|
||||
try {
|
||||
dac.closeStream();
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user