winepulse.drv: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
86aad73177
commit
d9131acb89
|
@ -611,7 +611,7 @@ fail:
|
|||
static HRESULT pulse_stream_valid(ACImpl *This) {
|
||||
if (!This->stream)
|
||||
return AUDCLNT_E_NOT_INITIALIZED;
|
||||
if (!This->stream || pa_stream_get_state(This->stream) != PA_STREAM_READY)
|
||||
if (pa_stream_get_state(This->stream) != PA_STREAM_READY)
|
||||
return AUDCLNT_E_DEVICE_INVALIDATED;
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue