Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: webrtc/voice_engine/voe_audio_processing_impl.h

Issue 2254973003: Added functionality for specifying the initial signal level to use for the gain estimation in the l… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge from upstream CL Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698