Diving into Firefox Media Code

I've spent the better part of this weekend working on bug 686137 [https://bugzilla.mozilla.org/show_bug.cgi?id=686137]: Setting audio.mozFrameBufferLength has no effect on MozAudioAvailable.frameBuffer.length. Whats going on in this regression is easy to spot. The default frameBufferLength for a given Audio stream is…