diff options
-rw-r--r-- | src/output/Control.cxx | 2 | ||||
-rw-r--r-- | src/output/Control.hxx | 8 | ||||
-rw-r--r-- | src/output/Thread.cxx | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/output/Control.cxx b/src/output/Control.cxx index 907426cd8..8458fc66d 100644 --- a/src/output/Control.cxx +++ b/src/output/Control.cxx @@ -38,7 +38,7 @@ static constexpr PeriodClock::Duration REOPEN_AFTER = std::chrono::seconds(10); struct notify audio_output_client_notify; AudioOutputControl::AudioOutputControl(FilteredAudioOutput *_output, - AudioOutputClient &_client) + AudioOutputClient &_client) noexcept :output(_output), client(_client), thread(BIND_THIS_METHOD(Task)) { diff --git a/src/output/Control.hxx b/src/output/Control.hxx index d2b5c83e4..ecf9388f1 100644 --- a/src/output/Control.hxx +++ b/src/output/Control.hxx @@ -212,10 +212,10 @@ public: mutable Mutex mutex; AudioOutputControl(FilteredAudioOutput *_output, - AudioOutputClient &_client); + AudioOutputClient &_client) noexcept; #ifndef NDEBUG - ~AudioOutputControl() { + ~AudioOutputControl() noexcept { assert(!fail_timer.IsDefined()); assert(!thread.IsDefined()); assert(output == nullptr); @@ -490,7 +490,7 @@ private: /** * Caller must lock the mutex. */ - bool FillSourceOrClose(); + bool FillSourceOrClose() noexcept; /** * Caller must lock the mutex. @@ -528,7 +528,7 @@ private: /** * The OutputThread. */ - void Task(); + void Task() noexcept; }; #endif diff --git a/src/output/Thread.cxx b/src/output/Thread.cxx index bad9e0a73..c8e90f726 100644 --- a/src/output/Thread.cxx +++ b/src/output/Thread.cxx @@ -226,7 +226,7 @@ AudioOutputControl::WaitForDelay() noexcept } bool -AudioOutputControl::FillSourceOrClose() +AudioOutputControl::FillSourceOrClose() noexcept try { return source.Fill(mutex); } catch (...) { @@ -402,7 +402,7 @@ AudioOutputControl::InternalDrain() noexcept } void -AudioOutputControl::Task() +AudioOutputControl::Task() noexcept { FormatThreadName("output:%s", GetName()); |