That line is nothing more, than basic backward compatibility with the older implementation of the AudioContext. The web Audio standard was first implemented in webkit under the official specifications. New implementations follow specifications to the letter.
Basically whichever of those two evaluates to true, gets used.
I've never done any electron work, but as far as I know its a combination of nodejs and the Chromium engine.
how can you access the window object though through electron is beyond me. A quick search came back with the following
That line is nothing more, than basic backward compatibility with the older implementation of the AudioContext. The web Audio standard was first implemented in webkit under the official specifications. New implementations follow specifications to the letter.
Basically whichever of those two evaluates to true, gets used.
I've never done any electron work, but as far as I know its a combination of nodejs and the Chromium engine.
how can you access the window object though through electron is beyond me. A quick search came back with the following