One additional item that can cause slow decoding. If the sample rate of the encoded audio files does not match the sample rate of the AudioContext, the audio file is resampled to the sample rate of the context. A high quality sinc resampler is used for this and can consume quite a bit of CPU.
So for those who reported slow decoding using the example URL, it would be good to know what the context sample rate was. (You can go to http://rtoy.github.io/webaudio-hacks/tests/osc.html which plays a tone and also displays the context sample rate.)
grigrizljac wrote:Any updates on this? Will this be fixed soon?
How do other games/apps deal with it (the ones that are not made in C2)? Why do they load almost instantly (e.g. Red Ball 4)?
TiAm wrote:(which doesn't always empty at the most opportune times).
Users browsing this forum: No registered users and 12 guests