Chromium Code Reviews| 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_ |