Re: Continuous playback of javascript synthesized consecutive audio buffers causes audio artifacts when no buffer starving occurs.

Kind of expanding on that idea, what about a AudioBufferQueueSourceNode and
an AudioBufferQueueDestinationNode, you could push audio buffers into a
AudioBufferQueueSourceNode and they will get played in order, and you could
pop from an AudioBufferQueueDestinationNode which would queue x number of
audio buffers of a fixed but selectable y number of samples for
x*y/samplerate seconds before that buffer is discarded (e.g if it doesn't
get pop-ed before a new buffer is ready it gets removed from the head of
the queue and the new buffer is added to the tail).

Received on Sunday, 20 October 2013 18:26:01 UTC