3 ms·
Good question :) If you watch the resources/network tab under Chrome/Firebug you'll notice that decoder.js isn't used in the demo. It's my unfinished attempt to
by nddrylliog 15y ago
Good question :) If you watch the resources/network tab under Chrome/Firebug you'll notice that decoder.js isn't used in the demo. It's my unfinished attempt to port libmad's decoder.c, so it still contains a bit of C code, I'm not even sure it's valid Javascript at this point :)
In the demo, we're replicating some of its functionality in https://github.com/nddrylliog/jsmad/blob/master/src/player.js https://github.com/nddrylliog/jsmad/blob/master/src/player.j... instead, although in a less robust way.