On Thu Jan 12 20:24:58 2023 +0000, Bernhard Kölbl wrote:
changed this line in [version 13 of the diff](/wine/wine/-/merge_requests/729/diffs?diff_id=27312&start_sha=cf96eeedb6fb9fe7dc3a6dee22381fb8920114c6#5b5a49a042216c14db62df8499a7112ac52155f9_239_176)
The while loop empties the audio client buffer. Calling `IAudioCaptureClient_GetBuffer` only once, when the event is set, will only return partial audio data.
I've had this code running for quite a while and it never locked.