| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 int GetAudioDeviceLayer(AudioLayers& audioLayer) override; | 41 int GetAudioDeviceLayer(AudioLayers& audioLayer) override; |
| 42 | 42 |
| 43 int SetRecordingSampleRate(unsigned int samples_per_sec) override; | 43 int SetRecordingSampleRate(unsigned int samples_per_sec) override; |
| 44 int RecordingSampleRate(unsigned int* samples_per_sec) const override; | 44 int RecordingSampleRate(unsigned int* samples_per_sec) const override; |
| 45 int SetPlayoutSampleRate(unsigned int samples_per_sec) override; | 45 int SetPlayoutSampleRate(unsigned int samples_per_sec) override; |
| 46 int PlayoutSampleRate(unsigned int* samples_per_sec) const override; | 46 int PlayoutSampleRate(unsigned int* samples_per_sec) const override; |
| 47 | 47 |
| 48 bool BuiltInAECIsAvailable() const override; | 48 bool BuiltInAECIsAvailable() const override; |
| 49 int EnableBuiltInAEC(bool enable) override; | 49 int EnableBuiltInAEC(bool enable) override; |
| 50 bool BuiltInAGCIsAvailable() const override; |
| 51 int EnableBuiltInAGC(bool enable) override; |
| 52 bool BuiltInNSIsAvailable() const override; |
| 53 int EnableBuiltInNS(bool enable) override; |
| 50 | 54 |
| 51 protected: | 55 protected: |
| 52 VoEHardwareImpl(voe::SharedData* shared); | 56 VoEHardwareImpl(voe::SharedData* shared); |
| 53 ~VoEHardwareImpl() override; | 57 ~VoEHardwareImpl() override; |
| 54 | 58 |
| 55 private: | 59 private: |
| 56 voe::SharedData* _shared; | 60 voe::SharedData* _shared; |
| 57 }; | 61 }; |
| 58 | 62 |
| 59 } // namespace webrtc | 63 } // namespace webrtc |
| 60 | 64 |
| 61 #endif // WEBRTC_VOICE_ENGINE_VOE_HARDWARE_IMPL_H | 65 #endif // WEBRTC_VOICE_ENGINE_VOE_HARDWARE_IMPL_H |
| OLD | NEW |