pulseaudio/src/modules/dbus
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
..
iface-card-profile.c dbus: Add card profile availability info to API 2015-10-19 10:57:35 +02:00
iface-card-profile.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-card.c dbus: fix card profile change signals 2017-03-10 00:34:59 +02:00
iface-card.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-client.c dbus: Use hooks for client proplist changes 2015-04-02 16:08:00 +02:00
iface-client.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-core.c cli-command: don't exit on "module already loaded" errors 2017-09-05 13:46:27 +03:00
iface-core.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-device-port.c make availability of ports visible over dbus 2015-10-19 11:02:44 +02:00
iface-device-port.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-device.c dbus: Use hooks for sink and source events 2015-04-02 16:08:26 +02:00
iface-device.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-memstats.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-memstats.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-module.c dbus: Use hooks for module proplist changes 2015-05-21 10:24:52 +02:00
iface-module.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-sample.c improve default sink/source handling 2017-05-02 16:10:19 +03:00
iface-sample.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-stream.c dbus: Use state changed hook for sink-input and source-output rate changes 2015-04-02 16:09:16 +02:00
iface-stream.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-dbus-protocol.c build: Use #ifdef to check for #defines 2017-03-08 14:31:29 +01:00