- From: Karl Tomlinson <karlt+public-audio@karlt.net>
- Date: Thu, 23 Jan 2014 07:50:24 +1300
- To: Chris Wilson <cwilso@google.com>
- Cc: "public-audio\@w3.org" <public-audio@w3.org>, Raymond Toy <rtoy@google.com>
Chris Wilson writes:
> Do we want to do that, or just throw an exception when start() is called
> when there's no buffer set (or something like that)?
Could a slight change in order be a common pattern? e.g.
c = new AudioContex();
c.decodeAudioData(data, function () {
s = c.createBufferSource();
s.connect(c,destination);
s.start(0);
s.buffer = data;
});
Received on Wednesday, 22 January 2014 18:51:15 UTC