Index: Source/modules/webaudio/AudioBufferSourceNode.h |
diff --git a/Source/modules/webaudio/AudioBufferSourceNode.h b/Source/modules/webaudio/AudioBufferSourceNode.h |
index 05d2db905ccb52f95ad44f7402bd349393a9c07e..df4928b93b7de3f25ede13fb732c6a03701a51fb 100644 |
--- a/Source/modules/webaudio/AudioBufferSourceNode.h |
+++ b/Source/modules/webaudio/AudioBufferSourceNode.h |
@@ -106,6 +106,9 @@ private: |
// m_buffer holds the sample data which this node outputs. |
RefPtr<AudioBuffer> m_buffer; |
+ // Used for setBuffer() called with null. |
+ RefPtr<AudioBuffer> m_nullableBuffer; |
+ |
// Pointers for the buffer and destination. |
OwnPtr<const float*[]> m_sourceChannels; |
OwnPtr<float*[]> m_destinationChannels; |