dsound: Make a function static, remove a no longer used array.