mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 936784 - Only mute on Shutdown if the AudioContext is not an OfflineAudioContext.
This commit is contained in:
parent
27ffeb05cb
commit
b71a9b5209
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user