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 #include "base/files/file.h" | 10 #include "base/files/file.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 class CONTENT_EXPORT MediaAudioConstraints { | 34 class CONTENT_EXPORT MediaAudioConstraints { |
35 public: | 35 public: |
36 // Constraint keys used by audio processing. | 36 // Constraint keys used by audio processing. |
37 static const char kEchoCancellation[]; | 37 static const char kEchoCancellation[]; |
38 static const char kGoogEchoCancellation[]; | 38 static const char kGoogEchoCancellation[]; |
39 static const char kGoogExperimentalEchoCancellation[]; | 39 static const char kGoogExperimentalEchoCancellation[]; |
40 static const char kGoogAutoGainControl[]; | 40 static const char kGoogAutoGainControl[]; |
41 static const char kGoogExperimentalAutoGainControl[]; | 41 static const char kGoogExperimentalAutoGainControl[]; |
42 static const char kGoogNoiseSuppression[]; | 42 static const char kGoogNoiseSuppression[]; |
43 static const char kGoogExperimentalNoiseSuppression[]; | 43 static const char kGoogExperimentalNoiseSuppression[]; |
44 static const char kGoogBeamforming[]; | |
45 static const char kGoogHighpassFilter[]; | 44 static const char kGoogHighpassFilter[]; |
46 static const char kGoogTypingNoiseDetection[]; | 45 static const char kGoogTypingNoiseDetection[]; |
47 static const char kGoogAudioMirroring[]; | 46 static const char kGoogAudioMirroring[]; |
48 | 47 |
49 // Merge |constraints| with |kDefaultAudioConstraints|. For any key which | 48 // Merge |constraints| with |kDefaultAudioConstraints|. For any key which |
50 // exists in both, the value from |constraints| is maintained, including its | 49 // exists in both, the value from |constraints| is maintained, including its |
51 // mandatory/optional status. New values from |kDefaultAudioConstraints| will | 50 // mandatory/optional status. New values from |kDefaultAudioConstraints| will |
52 // be added with optional status. | 51 // be added with optional status. |
53 static void ApplyFixedAudioConstraints(RTCMediaConstraints* constraints); | 52 static void ApplyFixedAudioConstraints(RTCMediaConstraints* constraints); |
54 | 53 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 void StopEchoCancellationDump(AudioProcessing* audio_processing); | 131 void StopEchoCancellationDump(AudioProcessing* audio_processing); |
133 | 132 |
134 void EnableAutomaticGainControl(AudioProcessing* audio_processing); | 133 void EnableAutomaticGainControl(AudioProcessing* audio_processing); |
135 | 134 |
136 void GetAecStats(AudioProcessing* audio_processing, | 135 void GetAecStats(AudioProcessing* audio_processing, |
137 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); | 136 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); |
138 | 137 |
139 } // namespace content | 138 } // namespace content |
140 | 139 |
141 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ | 140 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ |
OLD | NEW |