Chromium Code Reviews| 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 |
| 11 #ifndef WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H | 11 #ifndef WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H |
| 12 #define WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H | 12 #define WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H |
| 13 | 13 |
| 14 #include "webrtc/voice_engine/include/voe_audio_processing.h" | 14 #include "webrtc/voice_engine/include/voe_audio_processing.h" |
| 15 | 15 |
| 16 #include "webrtc/voice_engine/shared_data.h" | 16 #include "webrtc/voice_engine/shared_data.h" |
| 17 | 17 |
| 18 namespace webrtc { | 18 namespace webrtc { |
| 19 | 19 |
| 20 class VoEAudioProcessingImpl : public VoEAudioProcessing { | 20 class VoEAudioProcessingImpl : public VoEAudioProcessing { |
| 21 public: | 21 public: |
| 22 void SetLevelControllerInitialLevel(float level); | |
| 23 | |
|
aleloi
2016/08/18 11:43:39
Later, I think we could take another look at how t
peah-webrtc
2016/08/18 12:48:37
That definitely makes sense!
| |
| 22 int SetNsStatus(bool enable, NsModes mode = kNsUnchanged) override; | 24 int SetNsStatus(bool enable, NsModes mode = kNsUnchanged) override; |
| 23 | 25 |
| 24 int GetNsStatus(bool& enabled, NsModes& mode) override; | 26 int GetNsStatus(bool& enabled, NsModes& mode) override; |
| 25 | 27 |
| 26 int SetAgcStatus(bool enable, AgcModes mode = kAgcUnchanged) override; | 28 int SetAgcStatus(bool enable, AgcModes mode = kAgcUnchanged) override; |
| 27 | 29 |
| 28 int GetAgcStatus(bool& enabled, AgcModes& mode) override; | 30 int GetAgcStatus(bool& enabled, AgcModes& mode) override; |
| 29 | 31 |
| 30 int SetAgcConfig(AgcConfig config) override; | 32 int SetAgcConfig(AgcConfig config) override; |
| 31 | 33 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 ~VoEAudioProcessingImpl() override; | 107 ~VoEAudioProcessingImpl() override; |
| 106 | 108 |
| 107 private: | 109 private: |
| 108 bool _isAecMode; | 110 bool _isAecMode; |
| 109 voe::SharedData* _shared; | 111 voe::SharedData* _shared; |
| 110 }; | 112 }; |
| 111 | 113 |
| 112 } // namespace webrtc | 114 } // namespace webrtc |
| 113 | 115 |
| 114 #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H | 116 #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H |
| OLD | NEW |