- From: Marcus Geelnard <mage@opera.com>
- Date: Thu, 16 Aug 2012 06:22:01 +0000
- To: public-audio@w3.org
Hi!
AudioContext provides two methods for decoding audio (both the
synchronous createBuffer and the asynchronous decodeAudioData), and
people will quite likely want to use these methods for decoding audio
files without actually wanting to play them using an AudioContext.
Is there anything preventing us to allow users to do things like:
function decoded(data) {
// Dostuff
}
AudioContext.decodeAudioData(rawData, decoded);
Also, both versions of the createBuffer method could be treated similarly.
Any opinions?
Regards,
Marcus
Received on Thursday, 16 August 2012 06:22:30 UTC