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

Side by Side Diff: content/renderer/media/media_stream_audio_processor_options.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const int effects_; 87 const int effects_;
88 bool default_audio_processing_constraint_value_; 88 bool default_audio_processing_constraint_value_;
89 }; 89 };
90 90
91 // Enables the echo cancellation in |audio_processing|. 91 // Enables the echo cancellation in |audio_processing|.
92 void EnableEchoCancellation(AudioProcessing* audio_processing); 92 void EnableEchoCancellation(AudioProcessing* audio_processing);
93 93
94 // Enables the noise suppression in |audio_processing|. 94 // Enables the noise suppression in |audio_processing|.
95 void EnableNoiseSuppression(AudioProcessing* audio_processing); 95 void EnableNoiseSuppression(AudioProcessing* audio_processing);
96 96
97 // Enables the experimental noise suppression in |audio_processing|.
98 void EnableExperimentalNoiseSuppression(AudioProcessing* audio_processing);
99
100 // Enables the high pass filter in |audio_processing|. 97 // Enables the high pass filter in |audio_processing|.
101 void EnableHighPassFilter(AudioProcessing* audio_processing); 98 void EnableHighPassFilter(AudioProcessing* audio_processing);
102 99
103 // Enables the typing detection in |audio_processing|. 100 // Enables the typing detection in |audio_processing|.
104 void EnableTypingDetection(AudioProcessing* audio_processing, 101 void EnableTypingDetection(AudioProcessing* audio_processing,
105 webrtc::TypingDetection* typing_detector); 102 webrtc::TypingDetection* typing_detector);
106 103
107 // Enables the experimental echo cancellation in |audio_processing|.
108 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing);
109
110 // Starts the echo cancellation dump in |audio_processing|. 104 // Starts the echo cancellation dump in |audio_processing|.
111 void StartEchoCancellationDump(AudioProcessing* audio_processing, 105 void StartEchoCancellationDump(AudioProcessing* audio_processing,
112 base::File aec_dump_file); 106 base::File aec_dump_file);
113 107
114 // Stops the echo cancellation dump in |audio_processing|. 108 // Stops the echo cancellation dump in |audio_processing|.
115 // This method has no impact if echo cancellation dump has not been started on 109 // This method has no impact if echo cancellation dump has not been started on
116 // |audio_processing|. 110 // |audio_processing|.
117 void StopEchoCancellationDump(AudioProcessing* audio_processing); 111 void StopEchoCancellationDump(AudioProcessing* audio_processing);
118 112
119 void EnableAutomaticGainControl(AudioProcessing* audio_processing); 113 void EnableAutomaticGainControl(AudioProcessing* audio_processing);
120 114
121 void GetAecStats(AudioProcessing* audio_processing, 115 void GetAecStats(AudioProcessing* audio_processing,
122 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); 116 webrtc::AudioProcessorInterface::AudioProcessorStats* stats);
123 117
124 } // namespace content 118 } // namespace content
125 119
126 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 120 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_audio_processor.cc ('k') | content/renderer/media/media_stream_audio_processor_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698