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

Unified Diff: content/browser/speech/speech_recognizer.h

Issue 6615020: Stream speech audio to server as it gets recorded, instead of waiting until end of recording. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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: content/browser/speech/speech_recognizer.h
diff --git a/content/browser/speech/speech_recognizer.h b/content/browser/speech/speech_recognizer.h
index f8df0c20312bb6ea9d5544766b3313752f99defe..51abb3bc8d6bf4a220811a397dcdc82385d77e8f 100644
--- a/content/browser/speech/speech_recognizer.h
+++ b/content/browser/speech/speech_recognizer.h
@@ -114,7 +114,6 @@ class SpeechRecognizer
static const int kEndpointerEstimationTimeMs;
private:
- void ReleaseAudioBuffers();
void InformErrorAndCancelRecognition(ErrorCode error);
void SendRecordedAudioToServer();
@@ -137,6 +136,7 @@ class SpeechRecognizer
Endpointer endpointer_;
int num_samples_recorded_;
float audio_level_;
+ std::string previous_audio_chunk_;
DISALLOW_COPY_AND_ASSIGN(SpeechRecognizer);
};

Powered by Google App Engine
This is Rietveld 408576698