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

Unified Diff: media/audio/alsa/audio_manager_alsa.cc

Issue 2582703003: Audio output debug recording. (Closed)
Patch Set: Control through AudioManager. Compiles on Linux, works with PulseAudio. 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/alsa/audio_manager_alsa.cc
diff --git a/media/audio/alsa/audio_manager_alsa.cc b/media/audio/alsa/audio_manager_alsa.cc
index 72c48e3327a88062e87938819bb471d82ff7e6cd..a8aa7fe3c56e0a6dad71182d043240da44b730ee 100644
--- a/media/audio/alsa/audio_manager_alsa.cc
+++ b/media/audio/alsa/audio_manager_alsa.cc
@@ -93,7 +93,9 @@ AudioManagerAlsa::AudioManagerAlsa(
AudioLogFactory* audio_log_factory)
: AudioManagerBase(std::move(task_runner),
std::move(worker_task_runner),
- audio_log_factory),
+ audio_log_factory,
+ // TODO BEFORE COMMIT: Proper callback.
+ CreateAudioFileWriterCallback()),
wrapper_(new AlsaWrapper()) {
SetMaxOutputStreamsAllowed(kMaxOutputStreams);
}

Powered by Google App Engine
This is Rietveld 408576698