GoogleChromeLabs / audioworklet-polyfill

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

IMPROVED: pass audioWorklet channel count to scriptProcessor constructor #12

Closed warpdesign closed 6 years ago

warpdesign commented 6 years ago

App using audioWorklet could crash if used input/outputChannelCount value was different than the default channel count of ScriptProcessor (which is 2).

This should fix it.

warpdesign commented 6 years ago

👍