Streampunk / naudiodon

Node.js stream bindings for PortAudio
Apache License 2.0
294 stars 80 forks source link

Skip missed samples #64

Closed gasnew closed 3 years ago

gasnew commented 3 years ago

A simple (and ugly) change to skip missed samples rather than religiously playing back all samples (this is important for cases where we cannot provide samples to fill the output buffer, such as in the case of a network blip).

gasnew commented 3 years ago

Whoops! Didn't mean to make this PR. I'm trying out naudiodon for an online music performance app I'm building (feel free to check it out here!) and needed to make a change for my own purposes. This change should not make it into naudiodon proper. Thanks for maintaining this package!