aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/panning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index d79d672e..847c7391 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -220,7 +220,7 @@ struct DecoderConfig<DualBand, 0> {
return *this;
}
- explicit operator bool() const noexcept { return mOrder != 0; }
+ explicit operator bool() const noexcept { return !mChannels.empty(); }
};
using DecoderView = DecoderConfig<DualBand, 0>;