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

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: Typo. 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
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output_impl.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager_base.cc
diff --git a/media/audio/audio_manager_base.cc b/media/audio/audio_manager_base.cc
index 1d8a4540f988c41a38f8b5f09b7e27cb05f42cdb..910ca8615347333bb7a600cebf82d07581188623 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) {
scherkus (not reviewing) 2012/09/13 12:43:09 to confirm -- this will affect web audio + web rtc
DaleCurtis 2012/09/14 09:04:44 Henrik says WebRTC will be okay since it uses the
scoped_refptr<AudioOutputDispatcher> dispatcher = new AudioOutputResampler(
this, params,
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output_impl.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698