摘要 |
A signal coding method and device. The method comprises: in the case where a coding manner of a frame previous to a current input frame is a continuous coding manner, predicting a comfort noise generated by a decoder according to the current input frame in the case where the current input frame is coded into an SID frame, and determining an actual silence signal (210), wherein the current input frame is a silence frame; determining a degree of deviation of the comfort noise from the actual silence signal (220); according to the degree of deviation, determining the coding manner of the current input frame, wherein the coding manner of the current input frame comprises a tailing frame coding manner or an SID frame coding manner (230); and according to the coding manner of the current input frame, coding the current input frame (240). By determining that the coding manner of the current input frame is the tailing frame coding manner or the SID frame coding manner according to the degree of deviation of the comfort noise from the actual silence signal, the communication bandwidth can be saved. |