Allow AudioRendererMixerInputs to be restarted after stopped.
We probably shouldn't allow this, but it's currently relied upon by the WebAudio code and cleaning it up is a big deal: http://crbug.com/151051. The AudioRendererSink interface does not specify that after Stop() the sink can no longer be used. All other sinks allow restart, so this is just keeping with the pace. In http://crrev.com/280502 I conflated the one-stop-only mechanics of AudioRenderer:Stop() with those of AudioRendererSink::Stop(). This patch reverts that mistake while keeping the fixes for the original issue. BUG=389204,390977 TEST=new unittest. Review URL: https://codereview.chromium.org/381823003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282481 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment