X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=tests%2Fplaysaw.cpp;h=a590ca18ddf59f655efe8a8434fc0cce9d77e332;hb=07c639e41165da70aab5016adf1bf7133a418b31;hp=100d8d9badc3a9fac3457f785fd58c1f3fefc1c7;hpb=a16508efc3f1ce9dee8f8d760ed68626b34881df;p=rtaudio.git diff --git a/tests/playsaw.cpp b/tests/playsaw.cpp index 100d8d9..a590ca1 100644 --- a/tests/playsaw.cpp +++ b/tests/playsaw.cpp @@ -172,7 +172,7 @@ int main( int argc, char *argv[] ) dac.openStream( &oParams, NULL, FORMAT, fs, &bufferFrames, &saw, (void *)data, &options ); dac.startStream(); } - catch ( RtError& e ) { + catch ( RtAudioError& e ) { e.printMessage(); goto cleanup; } @@ -190,7 +190,7 @@ int main( int argc, char *argv[] ) // Stop the stream dac.stopStream(); } - catch ( RtError& e ) { + catch ( RtAudioError& e ) { e.printMessage(); } }