OLD | NEW |
1 // Copyright (c) 2011 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" | 8 #include "base/basictypes.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 | 10 |
11 namespace speech_input { | 11 namespace speech { |
12 | 12 |
13 // Input parameters for the EnergyEndpointer class. | 13 // Input parameters for the EnergyEndpointer class. |
14 class CONTENT_EXPORT EnergyEndpointerParams { | 14 class CONTENT_EXPORT EnergyEndpointerParams { |
15 public: | 15 public: |
16 EnergyEndpointerParams(); | 16 EnergyEndpointerParams(); |
17 | 17 |
18 void SetDefaults(); | 18 void SetDefaults(); |
19 | 19 |
20 void operator=(const EnergyEndpointerParams& source); | 20 void operator=(const EnergyEndpointerParams& source); |
21 | 21 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 float on_maintain_dur_; | 126 float on_maintain_dur_; |
127 // Minimum fundamental frequency for autocorrelation. | 127 // Minimum fundamental frequency for autocorrelation. |
128 float min_fundamental_frequency_; | 128 float min_fundamental_frequency_; |
129 // Maximum fundamental frequency for autocorrelation. | 129 // Maximum fundamental frequency for autocorrelation. |
130 float max_fundamental_frequency_; | 130 float max_fundamental_frequency_; |
131 // Period after start of user input that above threshold values are ignored. | 131 // Period after start of user input that above threshold values are ignored. |
132 // This is to reject audio feedback contamination. | 132 // This is to reject audio feedback contamination. |
133 float contamination_rejection_period_; | 133 float contamination_rejection_period_; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace speech_input | 136 } // namespace speech |
137 | 137 |
138 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ | 138 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ |
OLD | NEW |