| Index: chrome/browser/speech/endpointer/endpointer.h
|
| diff --git a/chrome/browser/speech/endpointer/endpointer.h b/chrome/browser/speech/endpointer/endpointer.h
|
| index 79b316d0283a28a23f743c1853c49dce3f282bdd..e83aed50f9c09a2accf45c821ca6142d92da84f5 100644
|
| --- a/chrome/browser/speech/endpointer/endpointer.h
|
| +++ b/chrome/browser/speech/endpointer/endpointer.h
|
| @@ -65,6 +65,16 @@ class Endpointer {
|
| // Get the status of the endpointer.
|
| EpStatus Status(int64 *time_us);
|
|
|
| + // Returns true if the endpointer detected reasonable audio levels above
|
| + // background noise which could be user speech, false if not.
|
| + bool DidStartReceivingSpeech() const {
|
| + return speech_previously_detected_;
|
| + }
|
| +
|
| + bool IsEstimatingEnvironment() const {
|
| + return energy_endpointer_.estimating_environment();
|
| + }
|
| +
|
| void set_speech_input_complete_silence_length(int64 time_us) {
|
| speech_input_complete_silence_length_us_ = time_us;
|
| }
|
|
|