Revert of Update AudioRenderer API to fire changes in BufferingState (round 2). ...
commit02552c80580dfc43c04ff80db05dab91ae1d6b44
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 26 Jun 2014 12:44:09 +0000 (26 12:44 +0000)
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 26 Jun 2014 12:44:09 +0000 (26 12:44 +0000)
treeb31ae48e9ff91e4ac65d4b73e56177d7d46c0177
parent50d70a991af1a6335917a59edbfc6410c5daf122
Revert of Update AudioRenderer API to fire changes in BufferingState (round 2). (https://codereview.chromium.org/354673007/)

Reason for revert:
This CL broke PipelineIntegrationTest.* tests under memory tools: crbug.com/389104

Original issue's description:
> Update AudioRenderer API to fire changes in BufferingState (round 2).
>
> As a result, Pipeline now handles prerolling and underflow/rebuffering
> by listening for BUFFERING_HAVE_NOTHING/ENOUGH callbacks. Preroll() is
> renamed StartPlayingFrom() and no longer accepts a completion callback.
> In this new model, AudioRenderers immediately enter and remain in
> the "playing" state and fire buffering state callbacks to let Pipeline
> know when to start/stop the clock.
>
> BUG=144683
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279977

TBR=xhwang@chromium.org,scherkus@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=144683

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279990 0039d316-1c4b-4281-b951-d872f2087c98
media/base/audio_renderer.h
media/base/mock_filters.h
media/base/pipeline.cc
media/base/pipeline.h
media/base/pipeline_unittest.cc
media/filters/audio_renderer_impl.cc
media/filters/audio_renderer_impl.h
media/filters/audio_renderer_impl_unittest.cc
media/filters/pipeline_integration_test_base.cc