Davide Beatrici (@davidebeatrici) commented about dlls/winepulse.drv/pulse.c:
+{
- struct set_sample_rate_params *params = args;
- struct pulse_stream *stream = handle_get_stream(params->stream);
- HRESULT hr = S_OK;
- pa_operation *o;
- int success;
- pulse_lock();
- 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
{
```suggestion:-1+0 else { ```