Less debug output.
Add helper variable to save on virtual function calls.
Clear sample buffer before reading in.
The only reliable way to rewind the stream is to reopen it, d’oh.