| Index: Source/modules/webaudio/AudioNode.h
|
| diff --git a/Source/modules/webaudio/AudioNode.h b/Source/modules/webaudio/AudioNode.h
|
| index 91d368353e26ed52ef03b2f56d4b0dbfb02eae97..7c80fb1864ecba2a1350eb77059e7a7791f74878 100644
|
| --- a/Source/modules/webaudio/AudioNode.h
|
| +++ b/Source/modules/webaudio/AudioNode.h
|
| @@ -120,6 +120,10 @@ public:
|
| virtual void initialize();
|
| virtual void uninitialize();
|
|
|
| + // Clear internal state when the node is deactivated. This prevents the node
|
| + // from providing the incorrect data based on the last-known data inside.
|
| + virtual void clearInternalState();
|
| +
|
| bool isInitialized() const { return m_isInitialized; }
|
|
|
| unsigned numberOfInputs() const { return m_inputs.size(); }
|
|
|