mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-05-18 16:18:07 +02:00
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. |
||
|---|---|---|
| .. | ||
| systemd/user | ||
| .gitignore | ||
| caps.c | ||
| caps.h | ||
| cmdline.c | ||
| cmdline.h | ||
| cpulimit.c | ||
| cpulimit.h | ||
| daemon-conf.c | ||
| daemon-conf.h | ||
| daemon.conf.in | ||
| default.pa.in | ||
| dumpmodules.c | ||
| dumpmodules.h | ||
| esdcompat.in | ||
| ltdl-bind-now.c | ||
| ltdl-bind-now.h | ||
| main.c | ||
| Makefile | ||
| pulseaudio-system.conf | ||
| pulseaudio.desktop.in | ||
| server-lookup.c | ||
| server-lookup.h | ||
| start-pulseaudio-x11.in | ||
| system.pa.in | ||