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

Unified Diff: media/audio/cras/audio_manager_cras.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 some cross-platform errors. 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 side-by-side diff with in-line comments
Download patch
Index: media/audio/cras/audio_manager_cras.h
diff --git a/media/audio/cras/audio_manager_cras.h b/media/audio/cras/audio_manager_cras.h
index 4c8f992ee05a61dc041a49f9a37a6df846986e6d..7898dceb08ebdc433538c3cb9af7bb7c093eb093 100644
--- a/media/audio/cras/audio_manager_cras.h
+++ b/media/audio/cras/audio_manager_cras.h
@@ -61,6 +61,12 @@ class MEDIA_EXPORT AudioManagerCras : public AudioManagerBase {
bool has_keyboard_mic_;
+ // Holds the name and ID of a virtual beamforming device if the machine
+ // indicates it has a mic array by providing a mic positions field.
+ const AudioDeviceName beamforming_device_name_;
+ // Stores the mic positions field from the device.
+ const std::vector<Point> mic_positions_;
+
DISALLOW_COPY_AND_ASSIGN(AudioManagerCras);
};

Powered by Google App Engine
This is Rietveld 408576698