- From: Patrick Martin <patrick.martin.r@gmail.com>
- Date: Sun, 20 Oct 2013 11:25:34 -0700
- To: robert@ocallahan.org
- Cc: "public-audio@w3.org" <public-audio@w3.org>
Received on Sunday, 20 October 2013 18:26:01 UTC
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