]> Git Repo - qemu.git/commit
audio/dsound: fix invalid parameters error
authorKővágó, Zoltán <[email protected]>
Sun, 2 Feb 2020 23:02:23 +0000 (00:02 +0100)
committerGerd Hoffmann <[email protected]>
Thu, 6 Feb 2020 13:31:20 +0000 (14:31 +0100)
commitfb35c2cec58985f0b8d2733f1b91927542eeb3fd
treefe30d5f05ca1fde9d8d2c9a6f3bf1de3f4db0599
parent599eac4e5a41e828645594097daee39373acc3c0
audio/dsound: fix invalid parameters error

Windows (unlike wine) bails out when IDirectSoundBuffer8::Lock is called
with zero length.  Also, hw->pos_emul handling was incorrect when
calling this function for the first time.

Signed-off-by: Kővágó, Zoltán <[email protected]>
Reported-by: KJ Liew <[email protected]>
Tested-by: Howard Spoelstra <[email protected]>
Message-id: fe9744216d9d421a2dbb09bcf5fa0dbd18f77ac5.1580684275[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
audio/audio.c
audio/dsound_template.h
audio/dsoundaudio.c
This page took 0.025146 seconds and 4 git commands to generate.