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

Unified Diff: content/renderer/media/media_stream_audio_processor_options.cc

Issue 470403002: Provide experimental AudioProcessing options at creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/media_stream_audio_processor_options.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_audio_processor_options.cc
diff --git a/content/renderer/media/media_stream_audio_processor_options.cc b/content/renderer/media/media_stream_audio_processor_options.cc
index d3299929056c0395a514ff5b128972af1b5b556e..9d2f5ee58c0c27d5a5ba77c7d51458332cafbf9d 100644
--- a/content/renderer/media/media_stream_audio_processor_options.cc
+++ b/content/renderer/media/media_stream_audio_processor_options.cc
@@ -233,12 +233,6 @@ void EnableNoiseSuppression(AudioProcessing* audio_processing) {
CHECK_EQ(err, 0);
}
-void EnableExperimentalNoiseSuppression(AudioProcessing* audio_processing) {
- webrtc::Config config;
- config.Set<webrtc::ExperimentalNs>(new webrtc::ExperimentalNs(true));
- audio_processing->SetExtraOptions(config);
-}
-
void EnableHighPassFilter(AudioProcessing* audio_processing) {
CHECK_EQ(audio_processing->high_pass_filter()->Enable(true), 0);
}
@@ -254,12 +248,6 @@ void EnableTypingDetection(AudioProcessing* audio_processing,
typing_detector->SetParameters(0, 0, 0, 0, 0, 100);
}
-void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing) {
- webrtc::Config config;
- config.Set<webrtc::DelayCorrection>(new webrtc::DelayCorrection(true));
- audio_processing->SetExtraOptions(config);
-}
-
void StartEchoCancellationDump(AudioProcessing* audio_processing,
base::File aec_dump_file) {
DCHECK(aec_dump_file.IsValid());
« no previous file with comments | « content/renderer/media/media_stream_audio_processor_options.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698