DescriptionThis fixes the issue of 'internal state' in DynamicsCompressorNode.
When a compressor node is in the active signal chain. the reduction
(.reduction) value returns the reduced amount of gain from
the compression. However, when user requests the reduction value after
the signal chain is deactivated (i.e. a source node stops), the returned
value is the last calculated in the compressor. This value should be
zero since there is no incoming audio signal.
Repro case:
http://jsfiddle.net/hoch/k5e3meuL/1/
Related StackOverflow post:
http://stackoverflow.com/questions/26413675/how-to-fix-frozen-div-when-using-compressor-reduction-value-to-monitor-compressi
BUG=425616
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184208
Patch Set 1 #
Total comments: 12
Patch Set 2 : #
Total comments: 13
Patch Set 3 : #
Total comments: 4
Patch Set 4 : #
Messages
Total messages: 15 (2 generated)
|