directsound: apply fix from e945dbd0.