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

Unified Diff: content/renderer/media/media_stream_audio_processor_options.h

Issue 1224623014: Refactor ParseArrayGeometry to use standard Chromium facilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CONTEXT_EXPORT on declaration... Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/media_stream_audio_processor_options.h
diff --git a/content/renderer/media/media_stream_audio_processor_options.h b/content/renderer/media/media_stream_audio_processor_options.h
index 2c9fe0173d084cf84948ed1d0031807d31d0366d..1d806bf5c008f62ad6b37ab3007e97377f8fd11b 100644
--- a/content/renderer/media/media_stream_audio_processor_options.h
+++ b/content/renderer/media/media_stream_audio_processor_options.h
@@ -139,6 +139,14 @@ void EnableAutomaticGainControl(AudioProcessing* audio_processing);
void GetAecStats(webrtc::EchoCancellation* echo_cancellation,
webrtc::AudioProcessorInterface::AudioProcessorStats* stats);
+// Parses the microphone array geometry from |geometry_string| formatted as
+// "x1 y1 z1 ... xn yn zn" for an n-microphone array. See
+// switches::kMicrophonePositions for more detail.
+//
+// Returns a zero-sized vector if |geometry_string| isn't a parseable geometry.
+CONTENT_EXPORT std::vector<webrtc::Point> ParseArrayGeometry(
+ const std::string& geometry_string);
+
} // namespace content
#endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_
« 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