[iOS] When Web Audio is interrupted by a phone call, it cannot be restarted.
Created attachment 249682 [details] Patch
rdar://problem/16955315
Created attachment 249683 [details] Patch
Created attachment 249684 [details] Patch
Created attachment 249686 [details] Patch
Created attachment 249698 [details] Patch
Comment on attachment 249698 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249698&action=review > Source/WebCore/Modules/webaudio/AudioContext.h:348 > + bool m_isDeletionScheduled = { false }; > + bool m_isStopScheduled = { false }; > + bool m_isInitialized = { false }; > + bool m_isAudioThreadFinished = { false }; > + bool m_automaticPullNodesNeedUpdating = { false }; > + bool m_isOfflineContext = { false }; I don’t think you need the "="; in fact I didn’t even know you could include them.
Comment on attachment 249698 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249698&action=review >> Source/WebCore/Modules/webaudio/AudioContext.h:348 >> + bool m_isOfflineContext = { false }; > > I don’t think you need the "="; in fact I didn’t even know you could include them. After a little sleuthing, it looks like C++11 both added the `type name { value }` syntax, and also loosened the requirements for the `type name = value` syntax, allowing it for non-const, non-static members. Still, I'll switch these all to the former syntax.
Created attachment 249704 [details] Patch for landing
Comment on attachment 249704 [details] Patch for landing Clearing flags on attachment: 249704 Committed r182141: <http://trac.webkit.org/changeset/182141>