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

Unified Diff: components/copresence/copresence_constants.cc

Issue 419073002: Add the copresence DirectiveHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gn fix Created 6 years, 5 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/copresence_constants.cc
diff --git a/components/copresence/copresence_constants.cc b/components/copresence/copresence_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3c86938b807b76b693a3dc10bd429ba93de3990e
--- /dev/null
+++ b/components/copresence/copresence_constants.cc
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/copresence/public/copresence_constants.h"
+
+namespace copresence {
+
+const int kDefaultRepetitions = 5;
jochen (gone - plz use gerrit) 2014/07/31 20:38:48 does this actually work on windows?
rkc 2014/07/31 20:42:43 Haven't tried it on a windows machine, but will ki
+const float kDefaultSampleRate = 48000.0f;
+const int kDefaultBitsPerSample = 16;
+const float kDefaultCarrierFrequency = 18500.0f;
+const int kDefaultChannels = 2;
+const media::ChannelLayout kDefaultChannelLayout = media::CHANNEL_LAYOUT_STEREO;
+
+} // namespace copresence

Powered by Google App Engine
This is Rietveld 408576698