Patent ID: 7970603

Claim:
A computer-implemented method for managing speech decoders in a communication device, comprising: detecting a change in transmission rate from a higher rate to a lower rate; clearing a first decoder memory; decoding a first received first decoder set of frame parameters; shifting the first received first decoder frame parameters into a first decoder memory, the first decoder memory being a first-in, first-out (FIFO) memory; decoding a second received first decoder set of frame parameters; shifting the second received first decoder frame parameters into the first decoder memory; decoding a third received first decoder set of frame parameters; shifting the third received first decoder frame parameters into the first decoder memory; generating a first decoder audio frame from the previously shifted frame parameters; saving the first decoder audio frame in a temporary buffer; generating a first second decoder audio fill frame, the second decoder being a higher rate decoder than first decoder; outputting the first second decoder audio fill frame to an audio buffer; generating a second decoder audio fill frame; outputting the second decoder audio fill frame to the audio buffer; generating a third second decoder audio fill frame; saving the third decoder audio fill frame to a temporary buffer; combining the saved first decoder audio frame and the third second decoder audio fill frame with overlapping triangular windows; and outputting the combined first decoder and second decoder frames to the audio buffer for subsequent transmission to a user of the communication device.