Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions openauto/Projection/RtAudioOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ bool RtAudioOutput::open()
dac_->openStream(&parameters, nullptr, RTAUDIO_SINT16, sampleRate_, &bufferFrames, &RtAudioOutput::audioBufferReadHandler, static_cast<void*>(this), &streamOptions);
return audioBuffer_.open(QIODevice::ReadWrite);
}
catch(const RtAudioError& e)
catch(...)
{
OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to open audio output, what: " << e.what();
OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to open audio output, what: " << "err";
}
}
else
Expand All @@ -83,9 +83,9 @@ void RtAudioOutput::start()
{
dac_->startStream();
}
catch(const RtAudioError& e)
catch(...)
{
OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to start audio output, what: " << e.what();
OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to start audio output, what: " << "error";
}
}
}
Expand Down Expand Up @@ -130,9 +130,9 @@ void RtAudioOutput::doSuspend()
{
dac_->stopStream();
}
catch(const RtAudioError& e)
catch(...)
{
OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to suspend audio output, what: " << e.what();
OPENAUTO_LOG(error) << "[RtAudioOutput] Failed to suspend audio output, what: " << "error";
}
}
}
Expand Down