Hold Pulse's mainloop lock while calling capture functions
commite20f0ae5a3c68767a7e08df96fbfa707f36ea6db
authorChris Robinson <chris.kcat@gmail.com>
Tue, 10 Jan 2017 11:02:26 +0000 (10 03:02 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Tue, 10 Jan 2017 11:02:26 +0000 (10 03:02 -0800)
treeefac7f9b2ec90d7fdff00ca2b64f1c80b1e90f05
parent987b6e069bcb9947bf2739aca33d890ebad5bebc
Hold Pulse's mainloop lock while calling capture functions

Since commit c837484015e, the backend's lock is no longer implicitly held when
calling capture functions. A separate mutex is used to ensure serial access,
and its up to the backend to protect against races and reentrancy with the
audio API.
Alc/backends/pulseaudio.c