- From: Raymond Toy <rtoy@google.com>
- Date: Wed, 9 Oct 2013 14:17:47 -0700
- To: "public-audio@w3.org" <public-audio@w3.org>
Received on Wednesday, 9 October 2013 21:18:16 UTC
Let's say you've created an AudioBufferSourceNode, s, and it is not connected. Case 1: You call s.start(). A short time later you call s.start() again. Case 2: You call s.start(). Then s.stop() and s.stop() again. In case 1, is an InvalidStateError thrown because you can only call start once? In case 2, is an InvalidStateError thrown too since you can only call stop once, after a source has started? In both cases, the source hasn't really "started" because it's not connected to anything. I think errors should be thrown in both cases. Ray
Received on Wednesday, 9 October 2013 21:18:16 UTC