Diving into Firefox Media Code

I've spent the better part of this weekend working on bug 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 1024 * the number of channels. ( for example, stereo has…