summaryrefslogtreecommitdiff
path: root/tests/duplex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/duplex.cpp')
-rw-r--r--tests/duplex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/duplex.cpp b/tests/duplex.cpp
index 2c60aad..60be901 100644
--- a/tests/duplex.cpp
+++ b/tests/duplex.cpp
@@ -103,7 +103,7 @@ int main( int argc, char *argv[] )
try {
adac.openStream( &oParams, &iParams, FORMAT, fs, &bufferFrames, &inout, (void *)&bufferBytes, &options );
}
- catch ( RtError& e ) {
+ catch ( RtAudioError& e ) {
std::cout << '\n' << e.getMessage() << '\n' << std::endl;
exit( 1 );
}
@@ -123,7 +123,7 @@ int main( int argc, char *argv[] )
// Stop the stream.
adac.stopStream();
}
- catch ( RtError& e ) {
+ catch ( RtAudioError& e ) {
std::cout << '\n' << e.getMessage() << '\n' << std::endl;
goto cleanup;
}