OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ | 5 #ifndef CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ |
6 #define CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ | 6 #define CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 | 9 |
11 namespace content { | 10 namespace content { |
12 | 11 |
13 // Input parameters for the EnergyEndpointer class. | 12 // Input parameters for the EnergyEndpointer class. |
14 class CONTENT_EXPORT EnergyEndpointerParams { | 13 class CONTENT_EXPORT EnergyEndpointerParams { |
15 public: | 14 public: |
16 EnergyEndpointerParams(); | 15 EnergyEndpointerParams(); |
17 | 16 |
18 void SetDefaults(); | 17 void SetDefaults(); |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // Maximum fundamental frequency for autocorrelation. | 128 // Maximum fundamental frequency for autocorrelation. |
130 float max_fundamental_frequency_; | 129 float max_fundamental_frequency_; |
131 // Period after start of user input that above threshold values are ignored. | 130 // Period after start of user input that above threshold values are ignored. |
132 // This is to reject audio feedback contamination. | 131 // This is to reject audio feedback contamination. |
133 float contamination_rejection_period_; | 132 float contamination_rejection_period_; |
134 }; | 133 }; |
135 | 134 |
136 } // namespace content | 135 } // namespace content |
137 | 136 |
138 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ | 137 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ |
OLD | NEW |