Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |