replay AudioBufferSourceNode ?

Hello

As i understand AudioBufferSourceNode Interface[1], it isn't possible
to play several time a bufferSource (correct me if im wrong).
Nevertheless in a game, a sound is played many-many times. So
BufferSource javascript object needs to be recreated, fully
reconfigured and reconnect every time you play it. This is rather
cumbersome for the developer. How can i clone an existing BufferSource
? maybe somebody did a javascript function on top of the spec ?

Jerome

[1] https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBufferSourceNode-section

Received on Tuesday, 20 March 2012 07:29:54 UTC