Commit 9b34bd83 authored by Committed by Jean-Marc ValinBrowse files
Change qb cap to prevent side-fold collapses.
Previously, in a stereo split with itheta==16384, but without enough bits left over to actually code a pulse, the target band would completely collapse, because the mid gain would be zero and we don't fold the side. This changes the limit to ensure that we never set qn>1 unless we know we'll have enough bits for at least one pulse. This should eliminate the last possible whole-band collapse.