Bug 936784 - Only mute on Shutdown if the AudioContext is not an OfflineAudioContext.

This commit is contained in:
Paul Adenot 2013-12-18 16:07:37 +01:00
parent 27ffeb05cb
commit b71a9b5209

View File

@ -547,7 +547,9 @@ AudioContext::Shutdown()
// We mute rather than suspending, because the delay between the ::Shutdown
// call and the CC would make us overbuffer in the MediaStreamGraph.
// See bug 936784 for details.
Mute();
if (!mIsOffline) {
Mute();
}
mDecoder.Shutdown();