Commit 9d0a71f2 authored by Max Kellermann's avatar Max Kellermann

output/Jack: add "noexcept"

parent ff1b4352
......@@ -90,9 +90,9 @@ struct JackOutput final : AudioOutput {
/**
* Disconnect the JACK client.
*/
void Disconnect();
void Disconnect() noexcept;
void Shutdown() {
void Shutdown() noexcept {
shutdown = true;
}
......@@ -100,7 +100,7 @@ struct JackOutput final : AudioOutput {
* Throws #std::runtime_error on error.
*/
void Start();
void Stop();
void Stop() noexcept;
/**
* Determine the number of frames guaranteed to be available
......@@ -377,7 +377,7 @@ mpd_jack_info(const char *msg)
#endif
void
JackOutput::Disconnect()
JackOutput::Disconnect() noexcept
{
assert(client != nullptr);
......@@ -458,7 +458,7 @@ mpd_jack_init(EventLoop &, const ConfigBlock &block)
* Stops the playback on the JACK connection.
*/
void
JackOutput::Stop()
JackOutput::Stop() noexcept
{
if (client == nullptr)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment