pulseaudio/src/modules/raop
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
..
module-raop-discover.c cli-command: don't exit on "module already loaded" errors 2017-09-05 13:46:27 +03:00
module-raop-sink.c raop: Merge TCP and UDP code paths + refactoring 2017-01-19 03:10:19 +02:00
raop-client.c raop: Error out on parsing server port component 2017-03-09 13:51:51 +01:00
raop-client.h raop: Merge TCP and UDP code paths + refactoring 2017-01-19 03:10:19 +02:00
raop-crypto.c raop: Merge TCP and UDP code paths + refactoring 2017-01-19 03:10:19 +02:00
raop-crypto.h raop: Merge TCP and UDP code paths + refactoring 2017-01-19 03:10:19 +02:00
raop-packet-buffer.c raop: Silently drop out-of-history retransmission request 2017-01-19 03:10:19 +02:00
raop-packet-buffer.h raop: Correctly wrap RTP packet sequence number 2017-01-19 03:10:19 +02:00
raop-sink.c raop: silence a Coverity complaint 2017-09-05 13:46:26 +03:00
raop-sink.h raop: Merge TCP and UDP code paths + refactoring 2017-01-19 03:10:19 +02:00
raop-util.c raop: Update and standardise source file headers 2017-01-19 03:10:19 +02:00
raop-util.h raop: Merge TCP and UDP code paths + refactoring 2017-01-19 03:10:19 +02:00