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

Unified Diff: chrome/browser/speech/endpointer/energy_endpointer.h

Issue 3341020: Speech input: Do environment estimation and detect the no-speech case. (Closed)
Patch Set: . Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/speech/endpointer/energy_endpointer.h
diff --git a/chrome/browser/speech/endpointer/energy_endpointer.h b/chrome/browser/speech/endpointer/energy_endpointer.h
index 5a5c76f6f2fe203b675af75472de7b0458a8afc7..cd461bed90c6026b306c4ca5d01a017d0f0b26c5 100644
--- a/chrome/browser/speech/endpointer/energy_endpointer.h
+++ b/chrome/browser/speech/endpointer/energy_endpointer.h
@@ -84,6 +84,10 @@ class EnergyEndpointer {
// corresponding to the most recently computed frame.
EpStatus Status(int64* status_time_us) const;
+ bool estimating_environment() const {
+ return estimating_environment_;
+ }
+
private:
class HistoryRing;

Powered by Google App Engine
This is Rietveld 408576698