Fix crash on reading following a seek beyond end of file
Add flush
Remove some debug output
This small library provides a reader (reader.sml) and writer (writer.sml) for RIFF/WAV PCM audio files written purely in Standard ML. The reader supports 8, 16, or 24-bit PCM encodings; the writer supports only 16-bit.
Written by Chris Cannam, cannam@all-day-breakfast.com. MIT licence, see the file COPYING for details.