Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: content/renderer/media/webrtc_audio_device_not_impl.cc

Issue 888593002: Revert of Roll WebRTC 8176:8203, Libjingle 8174:8202 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/media/webrtc_audio_device_not_impl.h" 5 #include "content/renderer/media/webrtc_audio_device_not_impl.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 WebRtcAudioDeviceNotImpl::WebRtcAudioDeviceNotImpl() 9 WebRtcAudioDeviceNotImpl::WebRtcAudioDeviceNotImpl()
10 : last_process_time_(base::TimeTicks::Now()) { 10 : last_process_time_(base::TimeTicks::Now()) {
11 } 11 }
12 12
13 int32_t WebRtcAudioDeviceNotImpl::ChangeUniqueId(const int32_t id) {
14 return 0;
15 }
16
13 int64_t WebRtcAudioDeviceNotImpl::TimeUntilNextProcess() { 17 int64_t WebRtcAudioDeviceNotImpl::TimeUntilNextProcess() {
14 const int64_t kMillisecondsBetweenProcessCalls = 5000; 18 const int64_t kMillisecondsBetweenProcessCalls = 5000;
15 base::TimeDelta delta_time = (base::TimeTicks::Now() - last_process_time_); 19 base::TimeDelta delta_time = (base::TimeTicks::Now() - last_process_time_);
16 return kMillisecondsBetweenProcessCalls - delta_time.InMilliseconds(); 20 return kMillisecondsBetweenProcessCalls - delta_time.InMilliseconds();
17 } 21 }
18 22
19 int32_t WebRtcAudioDeviceNotImpl::Process() { 23 int32_t WebRtcAudioDeviceNotImpl::Process() {
20 last_process_time_ = base::TimeTicks::Now(); 24 last_process_time_ = base::TimeTicks::Now();
21 return 0; 25 return 0;
22 } 26 }
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 269
266 bool WebRtcAudioDeviceNotImpl::BuiltInAECIsAvailable() const { 270 bool WebRtcAudioDeviceNotImpl::BuiltInAECIsAvailable() const {
267 return false; 271 return false;
268 } 272 }
269 273
270 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInAEC(bool enable) { 274 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInAEC(bool enable) {
271 return 0; 275 return 0;
272 } 276 }
273 277
274 } // namespace content 278 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_audio_device_not_impl.h ('k') | third_party/libjingle/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698