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 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 | 10 |
12 namespace speech { | 11 namespace speech { |
13 | 12 |
14 // Input parameters for the EnergyEndpointer class. | 13 // Input parameters for the EnergyEndpointer class. |
15 class CONTENT_EXPORT EnergyEndpointerParams { | 14 class CONTENT_EXPORT EnergyEndpointerParams { |
16 public: | 15 public: |
17 EnergyEndpointerParams(); | 16 EnergyEndpointerParams(); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // Maximum fundamental frequency for autocorrelation. | 129 // Maximum fundamental frequency for autocorrelation. |
131 float max_fundamental_frequency_; | 130 float max_fundamental_frequency_; |
132 // 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. |
133 // This is to reject audio feedback contamination. | 132 // This is to reject audio feedback contamination. |
134 float contamination_rejection_period_; | 133 float contamination_rejection_period_; |
135 }; | 134 }; |
136 | 135 |
137 } // namespace speech | 136 } // namespace speech |
138 | 137 |
139 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ | 138 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENERGY_ENDPOINTER_PARAMS_H_ |
OLD | NEW |