summaryrefslogtreecommitdiff
path: root/modules/audio_processing/include/audio_processing.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/audio_processing/include/audio_processing.h')
-rw-r--r--modules/audio_processing/include/audio_processing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/audio_processing/include/audio_processing.h b/modules/audio_processing/include/audio_processing.h
index 77c3f3ad..1e494d18 100644
--- a/modules/audio_processing/include/audio_processing.h
+++ b/modules/audio_processing/include/audio_processing.h
@@ -73,6 +73,14 @@ struct ExperimentalAgc {
bool enabled;
};
+// Use to enable experimental noise suppression. It can be set in the
+// constructor or using AudioProcessing::SetExtraOptions().
+struct ExperimentalNs {
+ ExperimentalNs() : enabled(false) {}
+ explicit ExperimentalNs(bool enabled) : enabled(enabled) {}
+ bool enabled;
+};
+
static const int kAudioProcMaxNativeSampleRateHz = 32000;
// The Audio Processing Module (APM) provides a collection of voice processing