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

Side by Side Diff: content/browser/speech/endpointer/endpointer.h

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) 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_ENDPOINTER_H_ 5 #ifndef CONTENT_BROWSER_SPEECH_ENDPOINTER_ENDPOINTER_H_
6 #define CONTENT_BROWSER_SPEECH_ENDPOINTER_ENDPOINTER_H_ 6 #define CONTENT_BROWSER_SPEECH_ENDPOINTER_ENDPOINTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/browser/speech/endpointer/energy_endpointer.h" 9 #include "content/browser/speech/endpointer/energy_endpointer.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 class EpStatus; 12 class EpStatus;
13 13
14 namespace speech_input { 14 namespace speech {
15 15
16 // A simple interface to the underlying energy-endpointer implementation, this 16 // A simple interface to the underlying energy-endpointer implementation, this
17 // class lets callers provide audio as being recorded and let them poll to find 17 // class lets callers provide audio as being recorded and let them poll to find
18 // when the user has stopped speaking. 18 // when the user has stopped speaking.
19 // 19 //
20 // There are two events that may trigger the end of speech: 20 // There are two events that may trigger the end of speech:
21 // 21 //
22 // speechInputPossiblyComplete event: 22 // speechInputPossiblyComplete event:
23 // 23 //
24 // Signals that silence/noise has been detected for a *short* amount of 24 // Signals that silence/noise has been detected for a *short* amount of
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 EpStatus old_ep_status_; 140 EpStatus old_ep_status_;
141 bool waiting_for_speech_possibly_complete_timeout_; 141 bool waiting_for_speech_possibly_complete_timeout_;
142 bool waiting_for_speech_complete_timeout_; 142 bool waiting_for_speech_complete_timeout_;
143 bool speech_previously_detected_; 143 bool speech_previously_detected_;
144 bool speech_input_complete_; 144 bool speech_input_complete_;
145 EnergyEndpointer energy_endpointer_; 145 EnergyEndpointer energy_endpointer_;
146 int sample_rate_; 146 int sample_rate_;
147 int32 frame_size_; 147 int32 frame_size_;
148 }; 148 };
149 149
150 } // namespace speech_input 150 } // namespace speech
151 151
152 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENDPOINTER_H_ 152 #endif // CONTENT_BROWSER_SPEECH_ENDPOINTER_ENDPOINTER_H_
OLDNEW
« no previous file with comments | « content/browser/speech/audio_encoder.cc ('k') | content/browser/speech/endpointer/endpointer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698