W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2012

Decoding audio w/o an AudioContext object

From: Marcus Geelnard <mage@opera.com>
Date: Thu, 16 Aug 2012 06:22:01 +0000
Message-ID: <20120816062201.8olydm8phypwkgow@staff.opera.com>
To: public-audio@w3.org

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?


Received on Thursday, 16 August 2012 06:22:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:01 UTC