aboutsummaryrefslogtreecommitdiff
path: root/webrtc/video_engine/vie_sync_module.cc
diff options
context:
space:
mode:
authorhenrik.lundin <henrik.lundin@webrtc.org>2015-11-01 11:43:30 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-01 19:43:38 +0000
commit74f0f3551ecd596dc0f83146d218887082528fa8 (patch)
tree05188d5dc81a0d8ab3787e339c635c113d2acbf1 /webrtc/video_engine/vie_sync_module.cc
parente502bbe138599a10fe530cb789e3f715a56fd461 (diff)
downloadwebrtc-74f0f3551ecd596dc0f83146d218887082528fa8.tar.gz
Delete a chain of methods in ViE, VoE and ACM
The end goal is to remove AcmReceiver::SetInitialDelay. This change is in preparation for that goal. It turns out that AcmReceiver::SetInitialDelay was only invoked through the following call chain, where each method in the chain is never referenced from anywhere else (except from tests in some cases): ViEChannel::SetReceiverBufferingMode -> ViESyncModule::SetTargetBufferingDelay -> VoEVideoSync::SetInitialPlayoutDelay -> Channel::SetInitialPlayoutDelay -> AudioCodingModule::SetInitialPlayoutDelay -> AcmReceiver::SetInitialDelay The start of the chain, ViEChannel::SetReceiverBufferingMode was never referenced. This change deletes all the methods above except AcmReceiver::SetInitialDelay itself, which will be handled in a follow-up change. BUG=webrtc:3520 Review URL: https://codereview.webrtc.org/1421013006 Cr-Commit-Position: refs/heads/master@{#10471}
Diffstat (limited to 'webrtc/video_engine/vie_sync_module.cc')
-rw-r--r--webrtc/video_engine/vie_sync_module.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/webrtc/video_engine/vie_sync_module.cc b/webrtc/video_engine/vie_sync_module.cc
index 1c5d877cd2..e7327eb103 100644
--- a/webrtc/video_engine/vie_sync_module.cc
+++ b/webrtc/video_engine/vie_sync_module.cc
@@ -171,18 +171,4 @@ int32_t ViESyncModule::Process() {
return 0;
}
-int ViESyncModule::SetTargetBufferingDelay(int target_delay_ms) {
- CriticalSectionScoped cs(data_cs_.get());
- if (!voe_sync_interface_) {
- LOG(LS_ERROR) << "voe_sync_interface_ NULL, can't set playout delay.";
- return -1;
- }
- sync_->SetTargetBufferingDelay(target_delay_ms);
- // Setting initial playout delay to voice engine (video engine is updated via
- // the VCM interface).
- voe_sync_interface_->SetInitialPlayoutDelay(voe_channel_id_,
- target_delay_ms);
- return 0;
-}
-
} // namespace webrtc