| 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_;
|
|
|
|
|