diff options
author | Chris Robinson <[email protected]> | 2023-01-06 01:40:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-06 01:40:10 -0800 |
commit | ec30a306df6c1d2079786c9cd4ae37fd6554e229 (patch) | |
tree | 223928cf686f6f62cdcc9c51f75f3b394065ff8d /alc/alc.cpp | |
parent | 3f8a3af3637606dae61ba112cb5bd9d2d897e5cb (diff) |
Avoid using a reversed all-pass for the front stablizer
While a neat trick, it's been shown to be too volatile and add noise as the
signal gets louder. It's better to just accept the phase shift and ensure
everything stays aligned.
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index db862a36..0b113884 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2152,11 +2152,6 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) nanoseconds::rep sample_delay{0}; if(auto *encoder{device->mUhjEncoder.get()}) sample_delay += encoder->getDelay(); - if(auto *ambidec = device->AmbiDecoder.get()) - { - if(ambidec->hasStablizer()) - sample_delay += FrontStablizer::DelayLength; - } if(device->getConfigValueBool(nullptr, "dither", true)) { |