sampleRate, &bufferFrames, &record );
adc.startStream();
}
- catch ( RtError& e ) {
+ catch ( RtAudioError& e ) {
e.printMessage();
exit( 0 );
}
// Stop the stream
adc.stopStream();
}
- catch (RtError& e) {
+ catch (RtAudioError& e) {
e.printMessage();
}