Add volume/gain, and the ability to seek.
Remove some debugging code and add documentation comments