diff options
Diffstat (limited to 'tests/record.cpp')
| -rw-r--r-- | tests/record.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/record.cpp b/tests/record.cpp index 5aa0ef3..4bd9d30 100644 --- a/tests/record.cpp +++ b/tests/record.cpp @@ -126,7 +126,7 @@ int main( int argc, char *argv[] ) try { adc.openStream( NULL, &iParams, FORMAT, fs, &bufferFrames, &input, (void *)&data ); } - catch ( RtError& e ) { + catch ( RtAudioError& e ) { std::cout << '\n' << e.getMessage() << '\n' << std::endl; goto cleanup; } @@ -148,7 +148,7 @@ int main( int argc, char *argv[] ) try { adc.startStream(); } - catch ( RtError& e ) { + catch ( RtAudioError& e ) { std::cout << '\n' << e.getMessage() << '\n' << std::endl; goto cleanup; } |
