Merge pull request #2694 from ondrejholy/fix-pulse-asserts
rdpsnd/pulse: Fix crashes in pulseaudio
This commit is contained in:
commit
7ebc72bb26
@ -452,7 +452,9 @@ static void rdpsnd_pulse_start(rdpsndDevicePlugin* device)
|
|||||||
if (!pulse->stream)
|
if (!pulse->stream)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
pa_threaded_mainloop_lock(pulse->mainloop);
|
||||||
pa_stream_trigger(pulse->stream, NULL, NULL);
|
pa_stream_trigger(pulse->stream, NULL, NULL);
|
||||||
|
pa_threaded_mainloop_unlock(pulse->mainloop);
|
||||||
}
|
}
|
||||||
|
|
||||||
int FreeRDPRdpsndDeviceEntry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)
|
int FreeRDPRdpsndDeviceEntry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)
|
||||||
|
Loading…
Reference in New Issue
Block a user