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

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

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 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_media_stream_audio_track_host.cc
diff --git a/content/renderer/pepper/pepper_media_stream_audio_track_host.cc b/content/renderer/pepper/pepper_media_stream_audio_track_host.cc
index 7a6db894aa1581a525b0d66a86111f7809d6ada2..20464cba775eabfc10295c4b82dd78578519ab86 100644
--- a/content/renderer/pepper/pepper_media_stream_audio_track_host.cc
+++ b/content/renderer/pepper/pepper_media_stream_audio_track_host.cc
@@ -34,7 +34,7 @@ const uint32_t kMinDuration = 10;
const uint32_t kDefaultDuration = 10;
const int32_t kDefaultNumberOfBuffers = 4;
-const int32_t kMaxNumberOfBuffers = 1000; // 10 sec
+const int32_t kMaxNumberOfAudioBuffers = 1000; // 10 sec
// Returns true if the |sample_rate| is supported in
// |PP_AudioBuffer_SampleRate|, otherwise false.
@@ -342,7 +342,7 @@ int32_t PepperMediaStreamAudioTrackHost::OnHostMsgConfigure(
return PP_ERROR_BADARGUMENT;
int32_t buffers = attributes.buffers
- ? std::min(kMaxNumberOfBuffers, attributes.buffers)
+ ? std::min(kMaxNumberOfAudioBuffers, attributes.buffers)
: kDefaultNumberOfBuffers;
return audio_sink_.Configure(buffers, attributes.duration,
context->MakeReplyMessageContext());
« no previous file with comments | « content/renderer/pepper/pepper_audio_output_host.cc ('k') | content/renderer/pepper/pepper_media_stream_video_track_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698