diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2013-12-27 11:30:37 -0800 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2013-12-27 11:30:37 -0800 |
| commit | 07c639e41165da70aab5016adf1bf7133a418b31 (patch) | |
| tree | 23134f770f593643c52f9ca458f06c23fc3d0873 /tests/duplex.cpp | |
| parent | a16508efc3f1ce9dee8f8d760ed68626b34881df (diff) | |
Renamed RtError class to RtAudioError and embedded it in RtAudio.h.
Deleted RtError.h from distribution and renamed all references to
RtError in the documentation, test files, and Windows .dsp files.
The version number was incremented to 4.1.0 in anticipation of
the next release, as this change affects the API.
Diffstat (limited to 'tests/duplex.cpp')
| -rw-r--r-- | tests/duplex.cpp | 4 |
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; } |
