bvibber / audio-feeder

Small JS library to abstract Web Audio raw PCM output
Other
53 stars 7 forks source link

need to guard against double-start #23

Open bvibber opened 8 years ago

bvibber commented 8 years ago

Accidentally calling start() twice causes weirdness such as a double connection of the node in web audio backend which can lead to getting onstarved events after stop(). (Found via ogv.js) Need to detect start after stop and throw a nice visible error.