mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05: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. |
||
|---|---|---|
| .. | ||
| iface-card-profile.c | ||
| iface-card-profile.h | ||
| iface-card.c | ||
| iface-card.h | ||
| iface-client.c | ||
| iface-client.h | ||
| iface-core.c | ||
| iface-core.h | ||
| iface-device-port.c | ||
| iface-device-port.h | ||
| iface-device.c | ||
| iface-device.h | ||
| iface-memstats.c | ||
| iface-memstats.h | ||
| iface-module.c | ||
| iface-module.h | ||
| iface-sample.c | ||
| iface-sample.h | ||
| iface-stream.c | ||
| iface-stream.h | ||
| module-dbus-protocol.c | ||