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

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

Issue 2225263003: Add missing methods to WebRtcAudioDeviceNotImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « content/renderer/media/webrtc_audio_device_not_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 bool WebRtcAudioDeviceNotImpl::AGC() const { 261 bool WebRtcAudioDeviceNotImpl::AGC() const {
262 return true; 262 return true;
263 } 263 }
264 264
265 bool WebRtcAudioDeviceNotImpl::BuiltInAECIsAvailable() const { 265 bool WebRtcAudioDeviceNotImpl::BuiltInAECIsAvailable() const {
266 return false; 266 return false;
267 } 267 }
268 268
269 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInAEC(bool enable) { 269 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInAEC(bool enable) {
270 return 0; 270 return 0;
perkj_chrome 2016/08/15 05:23:10 NOTREACHED() return 0?
Max Morin 2016/08/15 07:13:09 I'd rather harmonize with the rest of the file, wh
271 } 271 }
272 272
273 bool WebRtcAudioDeviceNotImpl::BuiltInAGCIsAvailable() const {
274 return false;
275 }
276
277 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInAGC(bool enable) {
278 return 0;
perkj_chrome 2016/08/15 05:23:10 NOTREACHED() ? return 0;
279 }
280
281 bool WebRtcAudioDeviceNotImpl::BuiltInNSIsAvailable() const {
282 return false;
283 }
284
285 int32_t WebRtcAudioDeviceNotImpl::EnableBuiltInNS(bool enable) {
286 return 0;
perkj_chrome 2016/08/15 05:23:10 NOTREACHED() ? return 0;
287 }
288
289 #ifdef(OS_IOS)
290 int WebRtcAudioDeviceNotImpl::GetPlayoutAudioParameters(
291 AudioParameters* params) const {
292 return 0;
293 }
294
295 int WebRtcAudioDeviceNotImpl::GetRecordAudioParameters(
296 AudioParameters* params) const {
297 return 0;
298 }
299 #endif // OS_IOS
300
273 } // namespace content 301 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_audio_device_not_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698