mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=914030 update AudioNode ownership comment r=roc
--HG-- extra : transplant_source : %B2z%F7%B7%8F%0F%AB%95N%B0%82%AC%8D%917%1B%84%3D%3A%9C
This commit is contained in:
parent
7b39d8a51c
commit
3609f6d2d3
@ -102,11 +102,9 @@ private:
|
||||
* real-time processing and output of this AudioNode.
|
||||
*
|
||||
* We track the incoming and outgoing connections to other AudioNodes.
|
||||
* All connections are strong and thus rely on cycle collection to break them.
|
||||
* However, we also track whether an AudioNode is capable of producing output
|
||||
* in the future. If it isn't, then we break its connections to its inputs
|
||||
* and outputs, allowing nodes to be immediately disconnected. This
|
||||
* disconnection is done internally, invisible to DOM users.
|
||||
* Outgoing connections have strong ownership. Also, AudioNodes add self
|
||||
* references if they produce sound on their output even when they have silent
|
||||
* or no input.
|
||||
*/
|
||||
class AudioNode : public nsDOMEventTargetHelper,
|
||||
public EnableWebAudioCheck
|
||||
|
Loading…
Reference in New Issue
Block a user