| Index: chrome/renderer/media/audio_renderer_impl.cc
|
| ===================================================================
|
| --- chrome/renderer/media/audio_renderer_impl.cc (revision 12568)
|
| +++ chrome/renderer/media/audio_renderer_impl.cc (working copy)
|
| @@ -29,14 +29,14 @@
|
| }
|
|
|
| bool AudioRendererImpl::IsMediaFormatSupported(
|
| - const media::MediaFormat* media_format) {
|
| + const media::MediaFormat& media_format) {
|
| int channels;
|
| int sample_rate;
|
| int sample_bits;
|
| return ParseMediaFormat(media_format, &channels, &sample_rate, &sample_bits);
|
| }
|
|
|
| -bool AudioRendererImpl::OnInitialize(const media::MediaFormat* media_format) {
|
| +bool AudioRendererImpl::OnInitialize(const media::MediaFormat& media_format) {
|
| // Parse integer values in MediaFormat.
|
| int channels;
|
| int sample_rate;
|
| @@ -156,7 +156,3 @@
|
| delegate_->view()->NotifyAudioPacketReady(stream_id_, filled);
|
| }
|
| }
|
| -
|
| -const media::MediaFormat* AudioRendererImpl::GetMediaFormat() {
|
| - return &media_format_;
|
| -}
|
|
|