diff options
Diffstat (limited to 'alc')
-rw-r--r-- | alc/panning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp index ddbefd52..6447f0f8 100644 --- a/alc/panning.cpp +++ b/alc/panning.cpp @@ -978,7 +978,7 @@ void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding && device->getConfigValueBool(nullptr, "front-stablizer", 0) != 0}; const bool hqdec{device->getConfigValueBool("decoder", "hq-mode", 1) != 0}; InitPanning(device, hqdec, stablize, decoder); - if(decoder.mOrder > 0) + if(decoder) { float accum_dist{0.0f}, spkr_count{0.0f}; for(auto dist : speakerdists) |