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

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

Issue 1275783003: Add a virtual beamforming audio device on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix more constructors and disable for now. Created 5 years, 3 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // This method has no impact if echo cancellation dump has not been started on 133 // This method has no impact if echo cancellation dump has not been started on
134 // |audio_processing|. 134 // |audio_processing|.
135 void StopEchoCancellationDump(AudioProcessing* audio_processing); 135 void StopEchoCancellationDump(AudioProcessing* audio_processing);
136 136
137 void EnableAutomaticGainControl(AudioProcessing* audio_processing); 137 void EnableAutomaticGainControl(AudioProcessing* audio_processing);
138 138
139 void GetAecStats(webrtc::EchoCancellation* echo_cancellation, 139 void GetAecStats(webrtc::EchoCancellation* echo_cancellation,
140 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); 140 webrtc::AudioProcessorInterface::AudioProcessorStats* stats);
141 141
142 // Parses the microphone array geometry from |geometry_string| formatted as 142 // Parses the microphone array geometry from |geometry_string| formatted as
143 // "x1 y1 z1 ... xn yn zn" for an n-microphone array. See 143 // "x1 y1 z1 ... xn yn zn" for an n-microphone array. See the mic_positions_
144 // switches::kMicrophonePositions for more detail. 144 // member of AudioParameters for more detail.
145 // 145 //
146 // Returns a zero-sized vector if |geometry_string| isn't a parseable geometry. 146 // Returns a zero-sized vector if |geometry_string| isn't a parseable geometry.
147 CONTENT_EXPORT std::vector<webrtc::Point> ParseArrayGeometry( 147 CONTENT_EXPORT std::vector<webrtc::Point> ParseArrayGeometry(
148 const std::string& geometry_string); 148 const std::string& geometry_string);
149 149
150 } // namespace content 150 } // namespace content
151 151
152 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ 152 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698