Remove AudioCodingModule::Process()
An earlier change moved the encoding work from Process to Add10MsData; process was just a no-op. BUG=3520 COAUTHOR=kwiberg@webrtc.org R=henrika@webrtc.org, minyue@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/43439004 Cr-Commit-Position: refs/heads/master@{#8553} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8553 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -100,11 +100,8 @@ bool Sender::Add10MsData() {
|
||||
if (!_pcmFile.EndOfFile()) {
|
||||
EXPECT_GT(_pcmFile.Read10MsData(_audioFrame), 0);
|
||||
int32_t ok = _acm->Add10MsData(_audioFrame);
|
||||
EXPECT_EQ(0, ok);
|
||||
if (ok != 0) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
EXPECT_GE(ok, 0);
|
||||
return ok >= 0 ? true : false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -114,7 +111,6 @@ void Sender::Run() {
|
||||
if (!Add10MsData()) {
|
||||
break;
|
||||
}
|
||||
EXPECT_GT(_acm->Process(), -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user