W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

decodeAudioData on partial ArrayBuffers

From: Robert Clouth <rob.clouth@gmail.com>
Date: Tue, 24 Jan 2012 17:11:25 +0000
Message-ID: <CALbutwmAFLRy8WoAo+ec_4C5Me4=XShs+zTODH9rkG9UHYp6UA@mail.gmail.com>
To: public-audio@w3.org
Hello,

I'm requesting parts of mp3s using request.setRequestHeader("Range",
"bytes=0-500000");
However, decodeAudioData doesn't seem to work on partial ArrayBuffers. Am I
doing something wrong? Why does it not just read up until the first bad
frame?

Cheers,

Rob Clouth
Received on Tuesday, 24 January 2012 17:12:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 24 January 2012 17:12:04 GMT