Only set sound buffer if it was successfully read.
Merge pull request #14 from Ventero/sound

Only set sound buffer if it was successfully read.