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

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

Issue 1020683002: Fixing mono/stereo crash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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/audio_modem/public/audio_modem_types.h" 5 #include "components/audio_modem/public/audio_modem_types.h"
6 6
7 namespace audio_modem { 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;
14 const media::ChannelLayout kDefaultChannelLayout = media::CHANNEL_LAYOUT_STEREO; 13 const media::ChannelLayout kDefaultChannelLayout = media::CHANNEL_LAYOUT_STEREO;
15 14
16 } // namespace audio_modem 15 } // namespace audio_modem
OLDNEW
« no previous file with comments | « components/audio_modem/audio_recorder_impl.cc ('k') | components/audio_modem/public/audio_modem_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698