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

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

Issue 42635: Lots of files touched for a very simple change. Everywhere we used a const M... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « no previous file | chrome/renderer/media/audio_renderer_impl.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.h
===================================================================
--- chrome/renderer/media/audio_renderer_impl.h (revision 12568)
+++ chrome/renderer/media/audio_renderer_impl.h (working copy)
@@ -108,7 +108,7 @@
return new media::FilterFactoryImpl1<AudioRendererImpl,
WebMediaPlayerDelegateImpl*>(delegate);
}
- static bool IsMediaFormatSupported(const media::MediaFormat* format);
+ static bool IsMediaFormatSupported(const media::MediaFormat& format);
// Methods call from RenderView when audio related IPC messages are received
// from browser process.
@@ -123,7 +123,6 @@
// Methods called on pipeline thread ----------------------------------------
// media::MediaFilter implementation.
virtual void SetPlaybackRate(float rate);
- const media::MediaFormat* GetMediaFormat();
// media::AudioRenderer implementation.
virtual void SetVolume(float volume);
@@ -134,7 +133,7 @@
protected:
// Methods called on audio renderer thread ----------------------------------
// These methods are called from AudioRendererBase.
- virtual bool OnInitialize(const media::MediaFormat* media_format);
+ virtual bool OnInitialize(const media::MediaFormat& media_format);
virtual void OnStop();
private:
@@ -159,9 +158,6 @@
WebMediaPlayerDelegateImpl* delegate_;
- // A map of media format information.
- media::MediaFormat media_format_;
-
// ID of the stream created in the browser process.
int32 stream_id_;
« no previous file with comments | « no previous file | chrome/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698