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
{
```suggestion:-1+0 else { ```