pulseaudio/src/daemon
Colin Leroy f0dfddead3 cli-command: don't exit on "module already loaded" errors
Some modules may only be loaded once, and trying to load them
twice from default.pa makes PulseAudio startup fail. While that could
be considered a user error, it's nicer to not be so strict. It's not
necessarily easy to figure what went wrong, if for example the user
plays with RAOP and adds module-raop-discover to default.pa, which first
works fine, but suddenly stops working when the user at some point
enables RAOP support in paprefs. Enabling RAOP in paprefs makes
module-gconf load the module too, so the module gets loaded twice.

This patch adds a way to differentiate module load errors, and
make cli-command ignore the error when the module is already
loaded.
2017-09-05 13:46:27 +03:00
..
systemd/user launch: Remove the already implicit After=pulseaudio.socket 2016-09-10 17:14:30 +03:00
.gitignore Remove all references to the removed KDE files 2014-03-03 18:06:20 +02:00
caps.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
caps.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
cmdline.c core: Support memfd transport; bump protocol version 2016-04-27 18:37:08 +05:30
cmdline.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
cpulimit.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
cpulimit.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
daemon-conf.c sink, source: Add a mode to avoid resampling if possible 2017-01-30 13:54:43 +05:30
daemon-conf.h sink, source: Add a mode to avoid resampling if possible 2017-01-30 13:54:43 +05:30
daemon.conf.in sink, source: Add a mode to avoid resampling if possible 2017-01-30 13:54:43 +05:30
default.pa.in default.pa: remove X11 module examples 2016-02-09 13:04:49 +02:00
dumpmodules.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
dumpmodules.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
esdcompat.in update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ltdl-bind-now.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ltdl-bind-now.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
main.c cli-command: don't exit on "module already loaded" errors 2017-09-05 13:46:27 +03:00
Makefile build-sys: readd stub makefiles to subdirectories to make building with emacs easier 2012-05-15 14:17:58 +02:00
pulseaudio-system.conf update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
pulseaudio.desktop.in daemon: ensure pulseaudio early startup on kde 2014-03-03 18:06:20 +02:00
server-lookup.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
server-lookup.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
start-pulseaudio-x11.in update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
system.pa.in system.pa.in: load module-coreaudio-detect if HAVE_COREAUDIO. 2016-01-04 12:39:21 +05:30