A method and system are provided for removing discontinuities associated
with synthesizing a corrupted frame output from a decoder including one
or more predictive filters. The corrupted frame is representative of one
segment of a decoded signal. The method comprises copying a first number
of stored samples of the decoded signal in accordance with a time lag and
a scaling factor, and calculating a first number of ringing samples
output from at least one of the filters.