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 { |
11 class WebMediaConstraints; | 11 class WebMediaConstraints; |
12 } | 12 } |
13 | 13 |
14 namespace webrtc { | 14 namespace webrtc { |
15 | 15 |
16 class AudioFrame; | 16 class AudioFrame; |
17 class AudioProcessing; | 17 class AudioProcessing; |
18 class MediaConstraintsInterface; | 18 class MediaConstraintsInterface; |
| 19 class TypingDetection; |
19 | 20 |
20 } | 21 } |
21 | 22 |
22 namespace content { | 23 namespace content { |
23 | 24 |
24 class RTCMediaConstraints; | 25 class RTCMediaConstraints; |
25 | 26 |
26 using webrtc::AudioProcessing; | 27 using webrtc::AudioProcessing; |
27 using webrtc::MediaConstraintsInterface; | 28 using webrtc::MediaConstraintsInterface; |
28 | 29 |
(...skipping 21 matching lines...) Expand all Loading... |
50 // Enables the echo cancellation in |audio_processing|. | 51 // Enables the echo cancellation in |audio_processing|. |
51 void EnableEchoCancellation(AudioProcessing* audio_processing); | 52 void EnableEchoCancellation(AudioProcessing* audio_processing); |
52 | 53 |
53 // Enables the noise suppression in |audio_processing|. | 54 // Enables the noise suppression in |audio_processing|. |
54 void EnableNoiseSuppression(AudioProcessing* audio_processing); | 55 void EnableNoiseSuppression(AudioProcessing* audio_processing); |
55 | 56 |
56 // Enables the high pass filter in |audio_processing|. | 57 // Enables the high pass filter in |audio_processing|. |
57 void EnableHighPassFilter(AudioProcessing* audio_processing); | 58 void EnableHighPassFilter(AudioProcessing* audio_processing); |
58 | 59 |
59 // Enables the typing detection in |audio_processing|. | 60 // Enables the typing detection in |audio_processing|. |
60 void EnableTypingDetection(AudioProcessing* audio_processing); | 61 void EnableTypingDetection(AudioProcessing* audio_processing, |
| 62 webrtc::TypingDetection* typing_detector); |
61 | 63 |
62 // Enables the experimental echo cancellation in |audio_processing|. | 64 // Enables the experimental echo cancellation in |audio_processing|. |
63 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); | 65 void EnableExperimentalEchoCancellation(AudioProcessing* audio_processing); |
64 | 66 |
65 // Starts the echo cancellation dump in |audio_processing|. | 67 // Starts the echo cancellation dump in |audio_processing|. |
66 void StartAecDump(AudioProcessing* audio_processing); | 68 void StartAecDump(AudioProcessing* audio_processing); |
67 | 69 |
68 // Stops the echo cancellation dump in |audio_processing|. | 70 // Stops the echo cancellation dump in |audio_processing|. |
69 void StopAecDump(AudioProcessing* audio_processing); | 71 void StopAecDump(AudioProcessing* audio_processing); |
70 | 72 |
71 void EnableAutomaticGainControl(AudioProcessing* audio_processing); | 73 void EnableAutomaticGainControl(AudioProcessing* audio_processing); |
72 | 74 |
73 } // namespace content | 75 } // namespace content |
74 | 76 |
75 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ | 77 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ |
OLD | NEW |