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

Unified Diff: media/filters/audio_renderer_algorithm_base.h

Issue 9015015: Take advantage of the new Pass() machinery on scoped_ptr{,_malloc}. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the dependency on CL 8968032 and point TODOs at the newly-filed bug. Created 8 years, 12 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: media/filters/audio_renderer_algorithm_base.h
diff --git a/media/filters/audio_renderer_algorithm_base.h b/media/filters/audio_renderer_algorithm_base.h
index 6ea8db59f7a060af8d68f243eb50fe890ff2429d..c1aa4af96cca1d9b6e72d3336003649a444aea3a 100644
--- a/media/filters/audio_renderer_algorithm_base.h
+++ b/media/filters/audio_renderer_algorithm_base.h
@@ -39,12 +39,10 @@ class MEDIA_EXPORT AudioRendererAlgorithmBase {
AudioRendererAlgorithmBase();
~AudioRendererAlgorithmBase();
- // Checks validity of audio parameters and takes ownership of |callback|.
- void Initialize(int channels,
- int sample_rate,
- int sample_bits,
- float initial_playback_rate,
- const base::Closure& callback);
+ // Checks validity of audio parameters.
+ void Initialize(
+ int channels, int sample_rate, int sample_bits,
+ float initial_playback_rate, const base::Closure& callback);
// Tries to fill |length| bytes of |dest| with possibly scaled data from
// our |queue_|. Returns the number of bytes copied into |dest|.

Powered by Google App Engine
This is Rietveld 408576698