pulseaudio/src
Tanu Kaskinen 95404ce3f3 cli-command: unload modules synchronously
Users may want to change the parameters of some load-once modules in
~/.config/pulse/default.pa. That should be possible by including
/etc/pulse/default.pa from the per-user configuration file, and then
unloading a module and reloading it with different parameters. However,
that doesn't work, because the unload-module command will not unload the
module immediately, so the subsequent load-module command will fail when
the module can be loaded only once.

This patch makes the module unloading synchronous. "pacmd unload-module
module-cli-protocol-unix" is something that might not like this change,
since the command will unload the code that is processing the command,
but I tested it and it works fine. When pa_module_unload() is called,
that won't yet remove the module code from memory, the lt_dlclose() call
is postponed until it's safe to remove the code from memory.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=102205
2017-09-05 13:46:27 +03:00
..
daemon sink, source: Add a mode to avoid resampling if possible 2017-01-30 13:54:43 +05:30
modules device-port, switch-on-port-available: fix automatic profile changing when current profile is off 2017-09-05 13:46:26 +03:00
pulse simple: fix negative latency handling 2017-07-20 16:56:41 +03:00
pulsecore cli-command: unload modules synchronously 2017-09-05 13:46:27 +03:00
tests thread-test: fix deadlock 2017-01-26 07:56:54 +02:00
utils padsp: Make it compile on musl 2017-09-05 13:46:26 +03:00
.gitignore pulse: Add a JSON-parsing library 2016-06-22 21:04:47 +05:30
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am build-sys: add iec958-stereo-input.conf to dist_alsapaths_DATA 2017-09-05 13:46:26 +03:00
map-file volume: Add LFE balance API 2015-10-30 09:13:10 +02:00