OLD | NEW |
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 namespace blink { | 10 namespace blink { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 bool GetPropertyFromConstraints( | 47 bool GetPropertyFromConstraints( |
48 const MediaConstraintsInterface* constraints, | 48 const MediaConstraintsInterface* constraints, |
49 const std::string& key); | 49 const std::string& key); |
50 | 50 |
51 // Enables the echo cancellation in |audio_processing|. | 51 // Enables the echo cancellation in |audio_processing|. |
52 void EnableEchoCancellation(AudioProcessing* audio_processing); | 52 void EnableEchoCancellation(AudioProcessing* audio_processing); |
53 | 53 |
54 // Enables the noise suppression in |audio_processing|. | 54 // Enables the noise suppression in |audio_processing|. |
55 void EnableNoiseSuppression(AudioProcessing* audio_processing); | 55 void EnableNoiseSuppression(AudioProcessing* audio_processing); |
56 | 56 |
| 57 // Enables the experimental noise suppression in |audio_processing|. |
| 58 void EnableExperimentalNoiseSuppression(AudioProcessing* audio_processing); |
| 59 |
57 // Enables the high pass filter in |audio_processing|. | 60 // Enables the high pass filter in |audio_processing|. |
58 void EnableHighPassFilter(AudioProcessing* audio_processing); | 61 void EnableHighPassFilter(AudioProcessing* audio_processing); |
59 | 62 |
60 // Enables the typing detection in |audio_processing|. | 63 // Enables the typing detection in |audio_processing|. |
61 void EnableTypingDetection(AudioProcessing* audio_processing, | 64 void EnableTypingDetection(AudioProcessing* audio_processing, |
62 webrtc::TypingDetection* typing_detector); | 65 webrtc::TypingDetection* typing_detector); |
63 | 66 |
64 // Enables the experimental echo cancellation in |audio_processing|. | 67 // Enables the experimental echo cancellation in |audio_processing|. |
65 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); | 68 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); |
66 | 69 |
67 // Starts the echo cancellation dump in |audio_processing|. | 70 // Starts the echo cancellation dump in |audio_processing|. |
68 void StartAecDump(AudioProcessing* audio_processing); | 71 void StartAecDump(AudioProcessing* audio_processing); |
69 | 72 |
70 // Stops the echo cancellation dump in |audio_processing|. | 73 // Stops the echo cancellation dump in |audio_processing|. |
71 void StopAecDump(AudioProcessing* audio_processing); | 74 void StopAecDump(AudioProcessing* audio_processing); |
72 | 75 |
73 void EnableAutomaticGainControl(AudioProcessing* audio_processing); | 76 void EnableAutomaticGainControl(AudioProcessing* audio_processing); |
74 | 77 |
75 } // namespace content | 78 } // namespace content |
76 | 79 |
77 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ | 80 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ |
OLD | NEW |