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

Unified Diff: content/renderer/pepper/pepper_platform_audio_output_impl.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
Index: content/renderer/pepper/pepper_platform_audio_output_impl.cc
diff --git a/content/renderer/pepper/pepper_platform_audio_output_impl.cc b/content/renderer/pepper/pepper_platform_audio_output_impl.cc
index e06d837737a23c3489b04e573704bbe4484a7618..d196102106fd355a9391cc4c606caff21697c479 100644
--- a/content/renderer/pepper/pepper_platform_audio_output_impl.cc
+++ b/content/renderer/pepper/pepper_platform_audio_output_impl.cc
@@ -125,7 +125,7 @@ bool PepperPlatformAudioOutputImpl::Initialize(
const int kMaxFramesForLowLatency = 2047;
const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
- if (cmd_line->HasSwitch(switches::kEnableAudioOutputResampler)) {
+ if (!cmd_line->HasSwitch(switches::kDisableAudioOutputResampler)) {
// Rely on AudioOutputResampler to handle any inconsistencies between the
// hardware params required for low latency and the requested params.
format = media::AudioParameters::AUDIO_PCM_LOW_LATENCY;

Powered by Google App Engine
This is Rietveld 408576698