Like the VideoFrameStream, AudioBufferStream wraps a DemuxerStream and an AudioDecode...
commitd7015779432cffb97fa02ae3ca1ef2eb9f6414c3
authorrileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 17 Mar 2014 21:45:03 +0000 (17 21:45 +0000)
committerrileya@chromium.org <rileya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 17 Mar 2014 21:45:03 +0000 (17 21:45 +0000)
tree3b25c874c7b079fe57db3802ea084d8a41a5f452
parentfdda85c3613c9534be585dc21a92521c3c40ad6c
Like the VideoFrameStream, AudioBufferStream wraps a DemuxerStream and an AudioDecoder, providing AudioBuffers to its client.

This moves DemuxerStream reading logic out of all of the AudioDecoders.

AudioBufferStream is really just a typedef of DecoderStream<DemuxerStream::AUDIO>, just as VideoFrameStream is for DemuxerStream::VIDEO.

Review URL: https://codereview.chromium.org/141243003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257500 0039d316-1c4b-4281-b951-d872f2087c98
28 files changed:
media/base/audio_decoder.cc
media/base/audio_decoder.h
media/base/mock_filters.h
media/base/video_decoder.cc
media/base/video_decoder.h
media/filters/audio_decoder_selector_unittest.cc
media/filters/audio_renderer_impl.cc
media/filters/audio_renderer_impl.h
media/filters/audio_renderer_impl_unittest.cc
media/filters/decoder_selector.cc
media/filters/decoder_selector.h
media/filters/decoder_stream.cc
media/filters/decoder_stream.h
media/filters/decoder_stream_traits.cc
media/filters/decoder_stream_traits.h
media/filters/decrypting_audio_decoder.cc
media/filters/decrypting_audio_decoder.h
media/filters/decrypting_audio_decoder_unittest.cc
media/filters/fake_video_decoder.cc
media/filters/fake_video_decoder.h
media/filters/fake_video_decoder_unittest.cc
media/filters/ffmpeg_audio_decoder.cc
media/filters/ffmpeg_audio_decoder.h
media/filters/ffmpeg_audio_decoder_unittest.cc
media/filters/opus_audio_decoder.cc
media/filters/opus_audio_decoder.h
media/filters/video_decoder_selector_unittest.cc
media/filters/video_frame_stream_unittest.cc