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

Unified Diff: trunk/src/content/browser/speech/speech_recognizer_impl.h

Issue 335343004: Revert 277794 "Modifies AudioInputCallback::OnData and use media..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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: trunk/src/content/browser/speech/speech_recognizer_impl.h
===================================================================
--- trunk/src/content/browser/speech/speech_recognizer_impl.h (revision 277811)
+++ trunk/src/content/browser/speech/speech_recognizer_impl.h (working copy)
@@ -16,7 +16,6 @@
#include "net/url_request/url_request_context_getter.h"
namespace media {
-class AudioBus;
class AudioManager;
}
@@ -133,7 +132,7 @@
virtual void OnError(media::AudioInputController* controller,
media::AudioInputController::ErrorCode error_code) OVERRIDE;
virtual void OnData(media::AudioInputController* controller,
- const media::AudioBus* data) OVERRIDE;
+ const uint8* data, uint32 size) OVERRIDE;
virtual void OnLog(media::AudioInputController* controller,
const std::string& message) OVERRIDE {}

Powered by Google App Engine
This is Rietveld 408576698