mirror of
https://github.com/thestk/stk
synced 2026-01-20 07:51:53 +00:00
Updated to new releases of RtAudio and RtMidi.
This commit is contained in:
@@ -262,7 +262,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;
|
||||
}
|
||||
@@ -282,7 +282,7 @@ int main( int argc, char *argv[] )
|
||||
try {
|
||||
dac.startStream();
|
||||
}
|
||||
catch ( RtError &error ) {
|
||||
catch ( RtAudioError &error ) {
|
||||
error.printMessage();
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -307,7 +307,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