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

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

Issue 2295113002: Removing the RX processing APIs from VoEAudioProcessing: (Closed)
Patch Set: rebase Created 4 years, 3 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
(...skipping 13 matching lines...) Expand all
24 int GetNsStatus(bool& enabled, NsModes& mode) override; 24 int GetNsStatus(bool& enabled, NsModes& mode) override;
25 25
26 int SetAgcStatus(bool enable, AgcModes mode = kAgcUnchanged) override; 26 int SetAgcStatus(bool enable, AgcModes mode = kAgcUnchanged) override;
27 27
28 int GetAgcStatus(bool& enabled, AgcModes& mode) override; 28 int GetAgcStatus(bool& enabled, AgcModes& mode) override;
29 29
30 int SetAgcConfig(AgcConfig config) override; 30 int SetAgcConfig(AgcConfig config) override;
31 31
32 int GetAgcConfig(AgcConfig& config) override; 32 int GetAgcConfig(AgcConfig& config) override;
33 33
34 int SetRxNsStatus(int channel,
35 bool enable,
36 NsModes mode = kNsUnchanged) override;
37
38 int GetRxNsStatus(int channel, bool& enabled, NsModes& mode) override;
39
40 int SetRxAgcStatus(int channel,
41 bool enable,
42 AgcModes mode = kAgcUnchanged) override;
43
44 int GetRxAgcStatus(int channel, bool& enabled, AgcModes& mode) override;
45
46 int SetRxAgcConfig(int channel, AgcConfig config) override;
47
48 int GetRxAgcConfig(int channel, AgcConfig& config) override;
49
50 int SetEcStatus(bool enable, EcModes mode = kEcUnchanged) override; 34 int SetEcStatus(bool enable, EcModes mode = kEcUnchanged) override;
51 int GetEcStatus(bool& enabled, EcModes& mode) override; 35 int GetEcStatus(bool& enabled, EcModes& mode) override;
52 int EnableDriftCompensation(bool enable) override; 36 int EnableDriftCompensation(bool enable) override;
53 bool DriftCompensationEnabled() override; 37 bool DriftCompensationEnabled() override;
54 38
55 void SetDelayOffsetMs(int offset) override; 39 void SetDelayOffsetMs(int offset) override;
56 int DelayOffsetMs() override; 40 int DelayOffsetMs() override;
57 41
58 int SetAecmMode(AecmModes mode = kAecmSpeakerphone, 42 int SetAecmMode(AecmModes mode = kAecmSpeakerphone,
59 bool enableCNG = true) override; 43 bool enableCNG = true) override;
60 44
61 int GetAecmMode(AecmModes& mode, bool& enabledCNG) override; 45 int GetAecmMode(AecmModes& mode, bool& enabledCNG) override;
62 46
63 int EnableHighPassFilter(bool enable) override; 47 int EnableHighPassFilter(bool enable) override;
64 bool IsHighPassFilterEnabled() override; 48 bool IsHighPassFilterEnabled() override;
65 49
66 int RegisterRxVadObserver(int channel, VoERxVadCallback& observer) override;
67
68 int DeRegisterRxVadObserver(int channel) override;
69
70 int VoiceActivityIndicator(int channel) override; 50 int VoiceActivityIndicator(int channel) override;
71 51
72 int SetEcMetricsStatus(bool enable) override; 52 int SetEcMetricsStatus(bool enable) override;
73 53
74 int GetEcMetricsStatus(bool& enabled) override; 54 int GetEcMetricsStatus(bool& enabled) override;
75 55
76 int GetEchoMetrics(int& ERL, int& ERLE, int& RERL, int& A_NLP) override; 56 int GetEchoMetrics(int& ERL, int& ERLE, int& RERL, int& A_NLP) override;
77 57
78 int GetEcDelayMetrics(int& delay_median, 58 int GetEcDelayMetrics(int& delay_median,
79 int& delay_std, 59 int& delay_std,
(...skipping 25 matching lines...) Expand all
105 ~VoEAudioProcessingImpl() override; 85 ~VoEAudioProcessingImpl() override;
106 86
107 private: 87 private:
108 bool _isAecMode; 88 bool _isAecMode;
109 voe::SharedData* _shared; 89 voe::SharedData* _shared;
110 }; 90 };
111 91
112 } // namespace webrtc 92 } // namespace webrtc
113 93
114 #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H 94 #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H
OLDNEW
« no previous file with comments | « webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc ('k') | webrtc/voice_engine/voe_audio_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698