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

Unified Diff: media/audio/audio_manager_base.cc

Issue 10928147: Flip AudioOutputResampler to on by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 3 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/audio_manager_base.cc
diff --git a/media/audio/audio_manager_base.cc b/media/audio/audio_manager_base.cc
index 3b77aa4f54722d0ac823ade611b78f3fa789cb8d..435cf9ee8c677ac4aa09f9f4490d40e366e75904 100644
--- a/media/audio/audio_manager_base.cc
+++ b/media/audio/audio_manager_base.cc
@@ -157,7 +157,7 @@ AudioOutputStream* AudioManagerBase::MakeAudioOutputStreamProxy(
base::TimeDelta::FromSeconds(kStreamCloseDelaySeconds);
const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
- if (cmd_line->HasSwitch(switches::kEnableAudioOutputResampler) &&
+ if (!cmd_line->HasSwitch(switches::kDisableAudioOutputResampler) &&
params.format() == AudioParameters::AUDIO_PCM_LOW_LATENCY) {
scoped_refptr<AudioOutputDispatcher> dispatcher = new AudioOutputResampler(
this, params, GetPreferredLowLatencyOutputStreamParameters(params),

Powered by Google App Engine
This is Rietveld 408576698