wav: Implement Write method of encoder.
wav: Implement the Close method of the audio encoder.