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

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
« no previous file with comments | « components/copresence/proto/enums.proto ('k') | components/copresence/public/copresence_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..07c38cf0bcca34fe10d168d36fdf504c9a148b7d 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.
+// 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,
+ AUDIO_TYPE_UNKNOWN = 3,
+};
+
} // namespace copresence
#endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_
« no previous file with comments | « components/copresence/proto/enums.proto ('k') | components/copresence/public/copresence_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698