Add a way to retrieve a decoder according to a filename in Decoder.
Fix some bugs in AudioBuffer.