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

Unified Diff: content/renderer/pepper/pepper_platform_audio_output_impl.cc

Issue 10805031: Increase buffer threshold for switch between PCM_LINEAR and PCM_LOW_LATENCY (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_platform_audio_output_impl.cc
===================================================================
--- content/renderer/pepper/pepper_platform_audio_output_impl.cc (revision 147869)
+++ content/renderer/pepper/pepper_platform_audio_output_impl.cc (working copy)
@@ -113,7 +113,7 @@
client_ = client;
media::AudioParameters::Format format;
- const int kMaxFramesForLowLatency = 2048;
+ const int kMaxFramesForLowLatency = 2400;
// Use the low latency back end if the client request is compatible, and
// the sample count is low enough to justify using AUDIO_PCM_LOW_LATENCY.
if (sample_rate == audio_hardware::GetOutputSampleRate() &&
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698