Kővágó, Zoltán fb35c2cec5 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 <DirtY.iCE.hu@gmail.com>
Reported-by: KJ Liew <liewkj@yahoo.com>
Tested-by: Howard Spoelstra <hsp.cat7@gmail.com>
Message-id: fe9744216d9d421a2dbb09bcf5fa0dbd18f77ac5.1580684275.git.DirtY.iCE.hu@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-02-06 14:31:20 +01:00
..
2020-01-31 08:48:03 +01:00
2020-01-31 08:48:03 +01:00
2019-10-18 08:14:05 +02:00
2020-01-31 08:48:03 +01:00
2019-08-21 09:13:37 +02:00
2020-01-31 08:48:03 +01:00
2020-01-31 08:48:03 +01:00
2020-01-31 08:48:03 +01:00
2020-01-31 08:48:03 +01:00