Wasn't a bug in the sound code at all. This version is just cleaned up and is not compatible with SDL1 anymore.