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

Unified Diff: components/copresence/public/copresence_constants.h

Issue 637223011: Redesign the copresence audio handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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: components/copresence/public/copresence_constants.h
diff --git a/components/copresence/public/copresence_constants.h b/components/copresence/public/copresence_constants.h
index 1c2499d7e5cb11d2b27e93b2a6f5f797384ad4ee..4a3d54a4767e1b09f3658295a45dd7e0a224e63c 100644
--- a/components/copresence/public/copresence_constants.h
+++ b/components/copresence/public/copresence_constants.h
@@ -27,6 +27,17 @@ extern const float kDefaultCarrierFrequency;
extern const int kDefaultChannels;
extern const media::ChannelLayout kDefaultChannelLayout;
+// These constants are used from, everywhere.
Daniel Erat 2014/10/17 22:26:00 s/,//
rkc 2014/10/18 00:21:55 Done.
+// Particularly, these are used to index the directive lists in the
+// audio manager, so do not change these enums without changing
+// audio_directive_list.[h|cc].
+enum AudioType {
+ AUDIBLE = 0,
+ INAUDIBLE = 1,
+ BOTH = 2,
+ UNKNOWN = 3,
+};
+
} // namespace copresence
#endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_

Powered by Google App Engine
This is Rietveld 408576698