AudioInput: make a copy of the EncodingOutputBuffer when calling flushCheck.

This is what happened prior to 5fa918be.