Merge pull request #2694 from ondrejholy/fix-pulse-asserts

rdpsnd/pulse: Fix crashes in pulseaudio
This commit is contained in:
Bernhard Miklautz 2015-06-18 16:22:11 +02:00
commit 7ebc72bb26

View File

@ -452,7 +452,9 @@ static void rdpsnd_pulse_start(rdpsndDevicePlugin* device)
if (!pulse->stream)
return;
pa_threaded_mainloop_lock(pulse->mainloop);
pa_stream_trigger(pulse->stream, NULL, NULL);
pa_threaded_mainloop_unlock(pulse->mainloop);
}
int FreeRDPRdpsndDeviceEntry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)