winepulse.drv: Check that the server connection actually succeeded.
commit0766334d04d00f1de6d601a4b052f7dfedcd9c64
authorAndrew Eikum <aeikum@codeweavers.com>
Fri, 4 Mar 2016 16:16:15 +0000 (4 10:16 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Mar 2016 04:16:26 +0000 (7 13:16 +0900)
tree6e4891a482208fa541e393f24e27d7b61289d7f2
parent10deca7caa60eed55b98a30589c61468f8454e48
winepulse.drv: Check that the server connection actually succeeded.

When there is no PA server running, some older PulseAudio versions
have pa_mainloop_iterate fail instead of setting the connection state
to failed. So, we should also check the connection state after exiting
the loop to ensure it really succeeded before continuing.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winepulse.drv/mmdevdrv.c