| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright 2012 The WebRTC project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 269 int32_t FakeAudioCaptureModule::SetAGC(bool /*enable*/) { | 269 int32_t FakeAudioCaptureModule::SetAGC(bool /*enable*/) { | 
| 270   // No AGC but not needed since audio is pregenerated. Return success. | 270   // No AGC but not needed since audio is pregenerated. Return success. | 
| 271   return 0; | 271   return 0; | 
| 272 } | 272 } | 
| 273 | 273 | 
| 274 bool FakeAudioCaptureModule::AGC() const { | 274 bool FakeAudioCaptureModule::AGC() const { | 
| 275   RTC_NOTREACHED(); | 275   RTC_NOTREACHED(); | 
| 276   return 0; | 276   return 0; | 
| 277 } | 277 } | 
| 278 | 278 | 
| 279 int32_t FakeAudioCaptureModule::SetWaveOutVolume(uint16_t /*volume_left*/, |  | 
| 280                                                  uint16_t /*volume_right*/) { |  | 
| 281   RTC_NOTREACHED(); |  | 
| 282   return 0; |  | 
| 283 } |  | 
| 284 |  | 
| 285 int32_t FakeAudioCaptureModule::WaveOutVolume( |  | 
| 286     uint16_t* /*volume_left*/, |  | 
| 287     uint16_t* /*volume_right*/) const { |  | 
| 288   RTC_NOTREACHED(); |  | 
| 289   return 0; |  | 
| 290 } |  | 
| 291 |  | 
| 292 int32_t FakeAudioCaptureModule::InitSpeaker() { | 279 int32_t FakeAudioCaptureModule::InitSpeaker() { | 
| 293   // No speaker, just playing from file. Return success. | 280   // No speaker, just playing from file. Return success. | 
| 294   return 0; | 281   return 0; | 
| 295 } | 282 } | 
| 296 | 283 | 
| 297 bool FakeAudioCaptureModule::SpeakerIsInitialized() const { | 284 bool FakeAudioCaptureModule::SpeakerIsInitialized() const { | 
| 298   RTC_NOTREACHED(); | 285   RTC_NOTREACHED(); | 
| 299   return 0; | 286   return 0; | 
| 300 } | 287 } | 
| 301 | 288 | 
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 715                                               kNumberBytesPerSample, | 702                                               kNumberBytesPerSample, | 
| 716                                               kNumberOfChannels, | 703                                               kNumberOfChannels, | 
| 717                                               kSamplesPerSecond, kTotalDelayMs, | 704                                               kSamplesPerSecond, kTotalDelayMs, | 
| 718                                               kClockDriftMs, current_mic_level, | 705                                               kClockDriftMs, current_mic_level, | 
| 719                                               key_pressed, | 706                                               key_pressed, | 
| 720                                               current_mic_level) != 0) { | 707                                               current_mic_level) != 0) { | 
| 721     RTC_NOTREACHED(); | 708     RTC_NOTREACHED(); | 
| 722   } | 709   } | 
| 723   SetMicrophoneVolume(current_mic_level); | 710   SetMicrophoneVolume(current_mic_level); | 
| 724 } | 711 } | 
| OLD | NEW | 
|---|