sampleRate, &bufferFrames,
&RtAudioInterface::wrapperRtAudioCallback, this, &options);
}
- catch ( RtError& e ) {
+ catch ( RtAudioError& e ) {
std::cout << '\n' << e.getMessage() << '\n' << std::endl;
exit( 0 );
}
int RtAudioInterface::startProcess() const
{
try { mRtAudio->startStream(); }
- catch ( RtError& e ) {
+ catch ( RtAudioError& e ) {
std::cout << '\n' << e.getMessage() << '\n' << std::endl;
return(-1);
}
int RtAudioInterface::stopProcess() const
{
try { mRtAudio->closeStream(); }
- catch ( RtError& e ) {
+ catch ( RtAudioError& e ) {
std::cout << '\n' << e.getMessage() << '\n' << std::endl;
return(-1);
}