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

Unified Diff: chromeos/audio/audio_device.h

Issue 2609863007: Add new mic types (Closed)
Patch Set: Add comment to explain why rear mic has lower priority Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/audio/audio_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/audio/audio_device.h
diff --git a/chromeos/audio/audio_device.h b/chromeos/audio/audio_device.h
index c402491b7dc32b8fdebcde85fe775d49f6ad02bc..6fb92c23ba6f08f29dd927c5d8d381856f0c43fc 100644
--- a/chromeos/audio/audio_device.h
+++ b/chromeos/audio/audio_device.h
@@ -25,6 +25,8 @@ enum AudioDeviceType {
AUDIO_TYPE_HDMI,
AUDIO_TYPE_INTERNAL_SPEAKER,
AUDIO_TYPE_INTERNAL_MIC,
+ AUDIO_TYPE_FRONT_MIC,
+ AUDIO_TYPE_REAR_MIC,
AUDIO_TYPE_KEYBOARD_MIC,
AUDIO_TYPE_HOTWORD,
AUDIO_TYPE_LINEOUT,
@@ -51,6 +53,8 @@ struct CHROMEOS_EXPORT AudioDevice {
bool is_for_simple_usage() const {
return (type == AUDIO_TYPE_HEADPHONE ||
type == AUDIO_TYPE_INTERNAL_MIC ||
+ type == AUDIO_TYPE_FRONT_MIC ||
+ type == AUDIO_TYPE_REAR_MIC ||
type == AUDIO_TYPE_MIC ||
type == AUDIO_TYPE_USB ||
type == AUDIO_TYPE_BLUETOOTH ||
« no previous file with comments | « no previous file | chromeos/audio/audio_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698