| Index: third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
|
| index 857e088c1869fe7b569889d0acdd13ddb13ef6a8..afd32cce61f69cb488854e616abac03fc702dfd4 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
|
| @@ -161,6 +161,8 @@ public:
|
| private:
|
| DeferredTaskHandler();
|
| void updateAutomaticPullNodes();
|
| + void updateChangedChannelCountMode();
|
| + void updateChangedChannelInterpretation();
|
| void handleDirtyAudioSummingJunctions();
|
| void handleDirtyAudioNodeOutputs();
|
| void deleteHandlersOnMainThread();
|
| @@ -174,6 +176,13 @@ private:
|
| // m_automaticPullNodesNeedUpdating keeps track if m_automaticPullNodes is modified.
|
| bool m_automaticPullNodesNeedUpdating;
|
|
|
| + // Collection of nodes where the channel count mode has changed. We want the
|
| + // channel count mode to change in the pre- or post-rendering phase so as
|
| + // not to disturb the running audio thread.
|
| + HashSet<AudioHandler*> m_deferredCountModeChange;
|
| +
|
| + HashSet<AudioHandler*> m_deferredChannelInterpretationChange;
|
| +
|
| // These two HashSet must be accessed only when the graph lock is held.
|
| // These raw pointers are safe because their destructors unregister them.
|
| HashSet<AudioSummingJunction*> m_dirtySummingJunctions;
|
|
|