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

Unified Diff: webrtc/voice_engine/include/voe_audio_processing.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/voice_engine/channel.cc ('k') | webrtc/voice_engine/test/auto_test/extended/agc_config_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/include/voe_audio_processing.h
diff --git a/webrtc/voice_engine/include/voe_audio_processing.h b/webrtc/voice_engine/include/voe_audio_processing.h
index fd70f957752ee1114111ac494c39ad4c2c7813a4..343cea993869f0e1af70edeca3ec1e5e91083c01 100644
--- a/webrtc/voice_engine/include/voe_audio_processing.h
+++ b/webrtc/voice_engine/include/voe_audio_processing.h
@@ -43,15 +43,6 @@ namespace webrtc {
class VoiceEngine;
-// VoERxVadCallback
-class WEBRTC_DLLEXPORT VoERxVadCallback {
- public:
- virtual void OnRxVad(int channel, int vadDecision) = 0;
-
- protected:
- virtual ~VoERxVadCallback() {}
-};
-
// VoEAudioProcessing
class WEBRTC_DLLEXPORT VoEAudioProcessing {
public:
@@ -126,42 +117,6 @@ class WEBRTC_DLLEXPORT VoEAudioProcessing {
virtual int EnableHighPassFilter(bool enable) = 0;
virtual bool IsHighPassFilterEnabled() = 0;
- // Sets status and mode of the receiving-side (Rx) NS.
- // The Rx NS reduces noise in the received signal for the specified
- // |channel|. Intended for advanced usage only.
- virtual int SetRxNsStatus(int channel,
- bool enable,
- NsModes mode = kNsUnchanged) = 0;
-
- // Gets status and mode of the receiving-side NS.
- virtual int GetRxNsStatus(int channel, bool& enabled, NsModes& mode) = 0;
-
- // Sets status and mode of the receiving-side (Rx) AGC.
- // The Rx AGC adjusts the received signal to an appropriate level
- // for the specified |channel|. Intended for advanced usage only.
- virtual int SetRxAgcStatus(int channel,
- bool enable,
- AgcModes mode = kAgcUnchanged) = 0;
-
- // Gets status and mode of the receiving-side AGC.
- virtual int GetRxAgcStatus(int channel, bool& enabled, AgcModes& mode) = 0;
-
- // Modifies the AGC configuration on the receiving side for the
- // specified |channel|.
- virtual int SetRxAgcConfig(int channel, AgcConfig config) = 0;
-
- // Gets the AGC configuration on the receiving side.
- virtual int GetRxAgcConfig(int channel, AgcConfig& config) = 0;
-
- // Registers a VoERxVadCallback |observer| instance and enables Rx VAD
- // notifications for the specified |channel|.
- virtual int RegisterRxVadObserver(int channel,
- VoERxVadCallback& observer) = 0;
-
- // Deregisters the VoERxVadCallback |observer| and disables Rx VAD
- // notifications for the specified |channel|.
- virtual int DeRegisterRxVadObserver(int channel) = 0;
-
// Gets the VAD/DTX activity for the specified |channel|.
// The returned value is 1 if frames of audio contains speech
// and 0 if silence. The output is always 1 if VAD is disabled.
« no previous file with comments | « webrtc/voice_engine/channel.cc ('k') | webrtc/voice_engine/test/auto_test/extended/agc_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698