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

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

Issue 833643005: Add a media constraint to enable beamforming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Declare and initialize geometry at once Created 5 years, 11 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 23 matching lines...) Expand all
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[];
44 static const char kGoogHighpassFilter[]; 45 static const char kGoogHighpassFilter[];
45 static const char kGoogTypingNoiseDetection[]; 46 static const char kGoogTypingNoiseDetection[];
46 static const char kGoogAudioMirroring[]; 47 static const char kGoogAudioMirroring[];
47 48
48 // Merge |constraints| with |kDefaultAudioConstraints|. For any key which 49 // Merge |constraints| with |kDefaultAudioConstraints|. For any key which
49 // exists in both, the value from |constraints| is maintained, including its 50 // exists in both, the value from |constraints| is maintained, including its
50 // mandatory/optional status. New values from |kDefaultAudioConstraints| will 51 // mandatory/optional status. New values from |kDefaultAudioConstraints| will
51 // be added with optional status. 52 // be added with optional status.
52 static void ApplyFixedAudioConstraints(RTCMediaConstraints* constraints); 53 static void ApplyFixedAudioConstraints(RTCMediaConstraints* constraints);
53 54
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void StopEchoCancellationDump(AudioProcessing* audio_processing); 132 void StopEchoCancellationDump(AudioProcessing* audio_processing);
132 133
133 void EnableAutomaticGainControl(AudioProcessing* audio_processing); 134 void EnableAutomaticGainControl(AudioProcessing* audio_processing);
134 135
135 void GetAecStats(AudioProcessing* audio_processing, 136 void GetAecStats(AudioProcessing* audio_processing,
136 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); 137 webrtc::AudioProcessorInterface::AudioProcessorStats* stats);
137 138
138 } // namespace content 139 } // namespace content
139 140
140 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 141 #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