| Summary: | [iOS] When Web Audio is interrupted by a phone call, it cannot be restarted. | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||||||||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | commit-queue, eric.carlson | ||||||||||||||
| Priority: | P2 | ||||||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Jer Noble
2015-03-28 23:31:17 PDT
Created attachment 249682 [details]
Patch
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> |