GoogleChromeLabs / audioworklet-polyfill

🔊 Polyfill AudioWorklet using the legacy ScriptProcessor API.
https://googlechromelabs.github.io/audioworklet-polyfill/
Apache License 2.0
195 stars 20 forks source link

Omit buffer size #3

Closed Korilakkuma closed 6 years ago

Korilakkuma commented 6 years ago

The following is quote from https://webaudio.github.io/web-audio-api/#scriptprocessornode

This value will be picked by the implementation if the bufferSize argument to createScriptProcessor() is not passed in, or is set to 0

I think that the browsers select optimized buffer size. Therefore, this PR omitted buffer size. Actually, when I tried to use Microsoft Edge, that was better.

developit commented 6 years ago

Awesome!