From: Alistair Leslie-Hughes leslie_alistair@hotmail.com
--- dlls/winepulse.drv/pulse.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/winepulse.drv/pulse.c b/dlls/winepulse.drv/pulse.c index 463f4c28d00..1878c367b97 100644 --- a/dlls/winepulse.drv/pulse.c +++ b/dlls/winepulse.drv/pulse.c @@ -391,6 +391,9 @@ static HRESULT pulse_connect(const char *name) break; }
+ if (pa_context_get_state(pulse_ctx) != PA_CONTEXT_READY) + goto fail; + TRACE("Connected to server %s with protocol version: %i.\n", pa_context_get_server(pulse_ctx), pa_context_get_server_protocol_version(pulse_ctx));