Skip to content
  • Timothy B. Terriberry's avatar
    Add a seprate qtheta offset for two-phase stereo. · 411a84fa
    Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
    9b34bd83 caused serious regressions for 240-sample frame stereo,
     because the previous qb limit was _always_ hit for two-phase
     stereo.
    Two-phase stereo really does operate with a different model (for
     example, the single bit allocated to the side should really
     probably be thought of as a sign bit for qtheta, but we don't
     count it as part of qtheta's allocation).
    The old code was equivalent to a separate two-phase offset of 12,
     however Greg Maxwell's testing demonstrates that 16 performs
     best.
    411a84fa