Fixes glithes when switching between SILK-only and hybrid
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 4 Oct 2011 15:59:32 +0000 (11:59 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 4 Oct 2011 15:59:32 +0000 (11:59 -0400)
commitbc2eebdf46a7de8b2927a0144dfd65bead6f1f15
tree451d9a52cbdf417e734f3bb0593c53a5fdb9f127
parent0c5085ad2fe0f7c3fe8bcd5f3660b31983d87836
Fixes glithes when switching between SILK-only and hybrid

We now reset the CELT state when swithing to hybrid and we "drain"
the CELT MDCT overlap when switching away from hybrid.
src/opus_decoder.c
src/opus_encoder.c