diff --git a/NEWS b/NEWS index fec18ffb4..feecefca8 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ ver 0.23.14 (not yet released) * decoder - mad: fix calculation of LAME peak values +* mixer + - wasapi: fix problem setting volume ver 0.23.13 (2023/05/22) * input diff --git a/src/thread/WindowsFuture.hxx b/src/thread/WindowsFuture.hxx index e9082a63c..dd2543cf4 100644 --- a/src/thread/WindowsFuture.hxx +++ b/src/thread/WindowsFuture.hxx @@ -130,7 +130,7 @@ public: void set_value(const T &value) { std::unique_lock lock(mutex); - if (!std::holds_alternative(&result)) { + if (!std::holds_alternative(result)) { throw WinFutureError(WinFutureErrc::promise_already_satisfied); } result.template emplace(value);