NetEQ stereo sync

This CL allows NetEQ to do expand at startup, to make master and slave always go in sync. Before it could happen that master did merge, while slave performed an expand, leading to sync-problems between the channels.

Updating DEPS for new reference files for unittest.

BUG=410
TEST=neteq_unittests

Review URL: https://webrtc-codereview.appspot.com/487005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2055 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tina.legrand@webrtc.org 2012-04-18 17:59:53 +00:00
parent 22082e74cb
commit faa0ab85d7
2 changed files with 3 additions and 4 deletions

2
DEPS
View File

@ -7,7 +7,7 @@ vars = {
# External resources like video and audio files used for testing purposes.
# Downloaded on demand when needed.
"webrtc_resources_revision": "8",
"webrtc_resources_revision": "9",
}
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@ -290,8 +290,7 @@ int WebRtcNetEQ_SignalMcu(MCUInst_t *inst)
}
/* New codec or big change in packet number? */
if (((inst->new_codec) || (uw16_instr == BUFSTAT_REINIT)) && (uw16_instr
!= BUFSTATS_DO_EXPAND))
if ((inst->new_codec) || (uw16_instr == BUFSTAT_REINIT))
{
CodecFuncInst_t cinst;