directsound: port away from old DirectX API