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

Unified Diff: media/audio/fake_audio_manager.cc

Issue 2582703003: Audio output debug recording. (Closed)
Patch Set: Using callbacks instead. Created 3 years, 11 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: media/audio/fake_audio_manager.cc
diff --git a/media/audio/fake_audio_manager.cc b/media/audio/fake_audio_manager.cc
index 07e88a5b964c2d182451888d09ba2138049a62f8..fc9199798758af876f47dee47afa64afa371e940 100644
--- a/media/audio/fake_audio_manager.cc
+++ b/media/audio/fake_audio_manager.cc
@@ -19,11 +19,12 @@ const int kDefaultSampleRate = 48000;
FakeAudioManager::FakeAudioManager(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner,
- AudioLogFactory* audio_log_factory)
+ AudioLogFactory* audio_log_factory,
+ CreateAudioFileWriterCallback create_audio_file_writer_callback)
: AudioManagerBase(std::move(task_runner),
std::move(worker_task_runner),
- audio_log_factory) {
-}
+ audio_log_factory,
+ std::move(create_audio_file_writer_callback)) {}
FakeAudioManager::~FakeAudioManager() {
Shutdown();

Powered by Google App Engine
This is Rietveld 408576698