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

Side by Side Diff: content/browser/speech/endpointer/energy_endpointer_params.cc

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 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 (c) 2010 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 #include "content/browser/speech/endpointer/energy_endpointer_params.h" 5 #include "content/browser/speech/endpointer/energy_endpointer_params.h"
6 6
7 namespace speech_input { 7 namespace speech {
8 8
9 EnergyEndpointerParams::EnergyEndpointerParams() { 9 EnergyEndpointerParams::EnergyEndpointerParams() {
10 SetDefaults(); 10 SetDefaults();
11 } 11 }
12 12
13 void EnergyEndpointerParams::SetDefaults() { 13 void EnergyEndpointerParams::SetDefaults() {
14 frame_period_ = 0.01f; 14 frame_period_ = 0.01f;
15 frame_duration_ = 0.01f; 15 frame_duration_ = 0.01f;
16 endpoint_margin_ = 0.2f; 16 endpoint_margin_ = 0.2f;
17 onset_window_ = 0.15f; 17 onset_window_ = 0.15f;
(...skipping 25 matching lines...) Expand all
43 offset_confirm_dur_ = source.offset_confirm_dur(); 43 offset_confirm_dur_ = source.offset_confirm_dur();
44 decision_threshold_ = source.decision_threshold(); 44 decision_threshold_ = source.decision_threshold();
45 min_decision_threshold_ = source.min_decision_threshold(); 45 min_decision_threshold_ = source.min_decision_threshold();
46 fast_update_dur_ = source.fast_update_dur(); 46 fast_update_dur_ = source.fast_update_dur();
47 sample_rate_ = source.sample_rate(); 47 sample_rate_ = source.sample_rate();
48 min_fundamental_frequency_ = source.min_fundamental_frequency(); 48 min_fundamental_frequency_ = source.min_fundamental_frequency();
49 max_fundamental_frequency_ = source.max_fundamental_frequency(); 49 max_fundamental_frequency_ = source.max_fundamental_frequency();
50 contamination_rejection_period_ = source.contamination_rejection_period(); 50 contamination_rejection_period_ = source.contamination_rejection_period();
51 } 51 }
52 52
53 } // namespace speech_input 53 } // namespace speech
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698