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

Unified Diff: content/browser/speech/speech_recognizer_impl.cc

Issue 2702323002: Move AudioDebugFileWriter from content/ to media/. (Closed)
Patch Set: Created 3 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_impl.cc
diff --git a/content/browser/speech/speech_recognizer_impl.cc b/content/browser/speech/speech_recognizer_impl.cc
index acec2671135c3e8322e5e6e487096def18d06683..d4e691d8153b4fa1bb4b95aaecba1709b1c2f4ce 100644
--- a/content/browser/speech/speech_recognizer_impl.cc
+++ b/content/browser/speech/speech_recognizer_impl.cc
@@ -16,7 +16,6 @@
#include "content/browser/media/media_internals.h"
#include "content/browser/speech/audio_buffer.h"
#include "content/public/browser/speech_recognition_event_listener.h"
-#include "media/audio/audio_file_writer.h"
#include "media/audio/audio_manager.h"
#include "media/audio/audio_system.h"
#include "media/base/audio_converter.h"
@@ -634,9 +633,10 @@ SpeechRecognizerImpl::StartRecording(const FSMEventArgs&) {
new OnDataConverter(input_parameters, output_parameters));
audio_controller_ = AudioInputController::Create(
- GetAudioSystem()->GetAudioManager(), this, this, nullptr, nullptr,
+ GetAudioSystem()->GetAudioManager(), this, this, nullptr,
input_parameters, device_id_,
- /*agc_is_enabled*/ false);
+ /*agc_is_enabled*/ false,
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE));
if (!audio_controller_.get()) {
return Abort(

Powered by Google App Engine
This is Rietveld 408576698