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

Unified Diff: media/filters/null_audio_renderer.h

Issue 7452016: Remove MediaFormat once and for all. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 9 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/file_data_source.cc ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/null_audio_renderer.h
diff --git a/media/filters/null_audio_renderer.h b/media/filters/null_audio_renderer.h
index 69f58482dcfa5f639a69872deec2db9e237bc9ef..28e79b52d094f89a04ff5ebf13d41b3a4b9a3795 100644
--- a/media/filters/null_audio_renderer.h
+++ b/media/filters/null_audio_renderer.h
@@ -12,10 +12,6 @@
// NullAudioRenderer can also be used in situations where the client has no
// audio device or we haven't written an audio implementation for a particular
// platform yet.
-//
-// It supports any type of MediaFormat as long as the mime type has been set to
-// audio/x-uncompressed. Playback rate is also supported and NullAudioRenderer
-// will slow down and speed up accordingly.
#include <deque>
@@ -47,8 +43,7 @@ class NullAudioRenderer
private:
// A number to convert bytes written in FillBuffer to milliseconds based on
- // the audio format. Calculated in OnInitialize by looking at the decoder's
- // MediaFormat.
+ // the audio format.
size_t bytes_per_millisecond_;
// A buffer passed to FillBuffer to advance playback.
« no previous file with comments | « media/filters/file_data_source.cc ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698