| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright (c) 2013 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 76   virtual int32_t InitPlayout() { return 0; } | 76   virtual int32_t InitPlayout() { return 0; } | 
| 77   virtual bool PlayoutIsInitialized() const { return true; } | 77   virtual bool PlayoutIsInitialized() const { return true; } | 
| 78   virtual int32_t RecordingIsAvailable(bool* available) { return 0; } | 78   virtual int32_t RecordingIsAvailable(bool* available) { return 0; } | 
| 79   virtual int32_t InitRecording() { return 0; } | 79   virtual int32_t InitRecording() { return 0; } | 
| 80   virtual bool RecordingIsInitialized() const { return true; } | 80   virtual bool RecordingIsInitialized() const { return true; } | 
| 81   virtual int32_t StartPlayout() { return 0; } | 81   virtual int32_t StartPlayout() { return 0; } | 
| 82   virtual bool Playing() const { return false; } | 82   virtual bool Playing() const { return false; } | 
| 83   virtual int32_t StartRecording() { return 0; } | 83   virtual int32_t StartRecording() { return 0; } | 
| 84   virtual bool Recording() const { return false; } | 84   virtual bool Recording() const { return false; } | 
| 85   virtual bool AGC() const { return true; } | 85   virtual bool AGC() const { return true; } | 
| 86   virtual int32_t SetWaveOutVolume(uint16_t volumeLeft, |  | 
| 87                            uint16_t volumeRight) { |  | 
| 88     return 0; |  | 
| 89   } |  | 
| 90   virtual int32_t WaveOutVolume(uint16_t* volumeLeft, |  | 
| 91                         uint16_t* volumeRight) const { |  | 
| 92     return 0; |  | 
| 93   } |  | 
| 94   virtual bool SpeakerIsInitialized() const { return true; } | 86   virtual bool SpeakerIsInitialized() const { return true; } | 
| 95   virtual bool MicrophoneIsInitialized() const { return true; } | 87   virtual bool MicrophoneIsInitialized() const { return true; } | 
| 96   virtual int32_t SpeakerVolumeIsAvailable(bool* available) { return 0; } | 88   virtual int32_t SpeakerVolumeIsAvailable(bool* available) { return 0; } | 
| 97   virtual int32_t SetSpeakerVolume(uint32_t volume) { return 0; } | 89   virtual int32_t SetSpeakerVolume(uint32_t volume) { return 0; } | 
| 98   virtual int32_t SpeakerVolume(uint32_t* volume) const { return 0; } | 90   virtual int32_t SpeakerVolume(uint32_t* volume) const { return 0; } | 
| 99   virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const { return 0; } | 91   virtual int32_t MaxSpeakerVolume(uint32_t* maxVolume) const { return 0; } | 
| 100   virtual int32_t MinSpeakerVolume(uint32_t* minVolume) const { return 0; } | 92   virtual int32_t MinSpeakerVolume(uint32_t* minVolume) const { return 0; } | 
| 101   virtual int32_t SpeakerVolumeStepSize(uint16_t* stepSize) const { return 0; } | 93   virtual int32_t SpeakerVolumeStepSize(uint16_t* stepSize) const { return 0; } | 
| 102   virtual int32_t MicrophoneVolumeIsAvailable(bool* available) { return 0; } | 94   virtual int32_t MicrophoneVolumeIsAvailable(bool* available) { return 0; } | 
| 103   virtual int32_t SetMicrophoneVolume(uint32_t volume) { return 0; } | 95   virtual int32_t SetMicrophoneVolume(uint32_t volume) { return 0; } | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 181 #endif  // WEBRTC_IOS | 173 #endif  // WEBRTC_IOS | 
| 182 | 174 | 
| 183  private: | 175  private: | 
| 184   bool uses_default_module_implementation_ = false; | 176   bool uses_default_module_implementation_ = false; | 
| 185   bool turn_off_module_callbacks_ = false; | 177   bool turn_off_module_callbacks_ = false; | 
| 186 }; | 178 }; | 
| 187 | 179 | 
| 188 }  // namespace webrtc | 180 }  // namespace webrtc | 
| 189 | 181 | 
| 190 #endif  // WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_FAKE_AUDIO_DEVICE_H_ | 182 #endif  // WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_FAKE_AUDIO_DEVICE_H_ | 
| OLD | NEW | 
|---|