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

Side by Side Diff: components/audio_modem/constants.cc

Issue 865483005: Creating the audio_modem component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging again Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « components/audio_modem/audio_recorder_unittest.cc ('k') | components/audio_modem/modem_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/copresence/public/copresence_constants.h" 5 #include "components/audio_modem/public/audio_modem_types.h"
6 6
7 namespace copresence { 7 namespace audio_modem {
8 8
9 const int kDefaultRepetitions = 5; 9 const int kDefaultRepetitions = 5;
10 const float kDefaultSampleRate = 48000.0f; 10 const float kDefaultSampleRate = 48000.0f;
11 const int kDefaultBitsPerSample = 16; 11 const int kDefaultBitsPerSample = 16;
12 const float kDefaultCarrierFrequency = 18500.0f; 12 const float kDefaultCarrierFrequency = 18500.0f;
13 const int kDefaultChannels = 2; 13 const int kDefaultChannels = 2;
14 const media::ChannelLayout kDefaultChannelLayout = media::CHANNEL_LAYOUT_STEREO; 14 const media::ChannelLayout kDefaultChannelLayout = media::CHANNEL_LAYOUT_STEREO;
15 15
16 } // namespace copresence 16 } // namespace audio_modem
OLDNEW
« no previous file with comments | « components/audio_modem/audio_recorder_unittest.cc ('k') | components/audio_modem/modem_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698