Encodes 0.5 s of a 440 Hz sine wave (amplitude 0.5) with a Vorbis AudioEncoder and decodes the result again with an AudioDecoder. It should decode back to the sine wave, with an RMS of about 0.35.

With the bug present, the chunks are only a few bytes each and decode to silence (RMS 0).

Running...