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

Side by Side Diff: chromecast/base/chromecast_switches.h

Issue 1900233006: [Chromecast] Remove command-line switch to change the number of mixer output channels (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 8 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 | « no previous file | chromecast/base/chromecast_switches.cc » ('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 #ifndef CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 5 #ifndef CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
6 #define CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 6 #define CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 26 matching lines...) Expand all
37 37
38 // Cast Receiver switches 38 // Cast Receiver switches
39 extern const char kAcceptResourceProvider[]; 39 extern const char kAcceptResourceProvider[];
40 40
41 // ALSA-based CMA switches. (Only valid for audio products.) 41 // ALSA-based CMA switches. (Only valid for audio products.)
42 extern const char kAlsaOutputBufferSize[]; 42 extern const char kAlsaOutputBufferSize[];
43 extern const char kAlsaOutputPeriodSize[]; 43 extern const char kAlsaOutputPeriodSize[];
44 extern const char kAlsaOutputStartThreshold[]; 44 extern const char kAlsaOutputStartThreshold[];
45 extern const char kAlsaOutputAvailMin[]; 45 extern const char kAlsaOutputAvailMin[];
46 extern const char kAlsaCheckCloseTimeout[]; 46 extern const char kAlsaCheckCloseTimeout[];
47 extern const char kAlsaNumOutputChannels[];
48 extern const char kAlsaFixedOutputSampleRate[]; 47 extern const char kAlsaFixedOutputSampleRate[];
49 48
50 } // namespace switches 49 } // namespace switches
51 50
52 namespace chromecast { 51 namespace chromecast {
53 52
54 // Gets boolean value from switch |switch_string|. 53 // Gets boolean value from switch |switch_string|.
55 // --|switch_string| -> true 54 // --|switch_string| -> true
56 // --|switch_string|="true" -> true 55 // --|switch_string|="true" -> true
57 // --|switch_string|="false" -> false 56 // --|switch_string|="false" -> false
58 // no switch named |switch_string| -> |default_value| 57 // no switch named |switch_string| -> |default_value|
59 bool GetSwitchValueBoolean(const std::string& switch_string, 58 bool GetSwitchValueBoolean(const std::string& switch_string,
60 const bool default_value); 59 const bool default_value);
61 60
62 } // namespace chromecast 61 } // namespace chromecast
63 62
64 #endif // CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 63 #endif // CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/base/chromecast_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698