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

Unified Diff: media/filters/audio_renderer_algorithm_ola.cc

Issue 149573: Refactor WritableBuffer interface for more useful ptr management. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « media/filters/audio_renderer_algorithm_default.cc ('k') | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_algorithm_ola.cc
===================================================================
--- media/filters/audio_renderer_algorithm_ola.cc (revision 20532)
+++ media/filters/audio_renderer_algorithm_ola.cc (working copy)
@@ -32,7 +32,7 @@
// Grab info from |buffer_out| and handle the simple case of normal playback.
size_t dest_remaining = buffer_out->GetDataSize();
- uint8* dest = buffer_out->GetWritableData(dest_remaining);
+ uint8* dest = buffer_out->GetWritableData();
size_t dest_written = 0;
if (playback_rate() == 1.0f) {
if (QueueSize() < dest_remaining)
« no previous file with comments | « media/filters/audio_renderer_algorithm_default.cc ('k') | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698