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

Unified Diff: chrome/renderer/media/audio_renderer_impl.cc

Issue 4661001: Simplified AudioOutputStream interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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 | « chrome/common/render_messages_params.cc ('k') | chrome/renderer/pepper_devices.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/audio_renderer_impl.cc
diff --git a/chrome/renderer/media/audio_renderer_impl.cc b/chrome/renderer/media/audio_renderer_impl.cc
index f71282cd4cd74b62cc7418f3ece2e4f539ef8d6c..00216560092dd895cc2ee25d03522f9c187ad568 100644
--- a/chrome/renderer/media/audio_renderer_impl.cc
+++ b/chrome/renderer/media/audio_renderer_impl.cc
@@ -255,7 +255,9 @@ void AudioRendererImpl::CreateStreamTask(AudioParameters audio_params) {
ViewHostMsg_Audio_CreateStream_Params params;
params.params = audio_params;
- params.packet_size = 0;
+
+ // Let the browser choose packet size.
+ params.params.samples_per_packet = 0;
filter_->Send(new ViewHostMsg_CreateAudioStream(0, stream_id_, params,
false));
« no previous file with comments | « chrome/common/render_messages_params.cc ('k') | chrome/renderer/pepper_devices.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698