The problem was that if the output sample rate is changed such from one where no resampling is needed to a rate that requires resampling, the first output from the resampler will contain an onset period. The solution provided in this CL is to keep a copy of the last output frame in ACM, and if the resampler is engaged, it will be primed with this old frame before resampling the current frame. BUG=3919 R=bjornv@webrtc.org, turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/27729004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7479 4adac7df-926f-26a2-2b94-8c16560cd09d
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.