Fixes for very small wave files
Merge pull request #36 from cjhanson/master

Fixes for very small wave files