OscillatorNode always creates PeriodicWave table for sine even if not requested |
||
Issue description
When an oscillator is created using
new OscillatorNode(context, {type: 'square'})
a PeriodicWave is created for both a sine wave and a square wave. This is a bit wasteful of memory if the sine wave is never requested.
However, the impact is not huge since the periodic wave tables is shared for all oscillator nodes in the same context.
,
Apr 21 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Apr 20 2017