28 May
2024
28 May
'24
9:15 p.m.
Davide Beatrici (@davidebeatrici) commented about dlls/winepulse.drv/pulse.c:
+ if (!pulse_stream_valid(stream)) + hr = AUDCLNT_E_DEVICE_INVALIDATED; + else + { + if (!(o = pa_stream_update_sample_rate(stream->stream, params->rate, pulse_op_cb, &success))) + success = 0; + else + { + while (pa_operation_get_state(o) == PA_OPERATION_RUNNING) + pulse_cond_wait(); + pa_operation_unref(o); + } + + if (!success) hr = E_FAIL; + else + {
else {
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5585#note_70738