mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
pacmd: Add unloading modules by name.
pacmd should allow unloading modules by name. The command_unload() function was expanded to handle names while unloading modules. If there are multiple modules with the same name all of them will be unloaded. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=48289
This commit is contained in:
parent
48f4c8ab8f
commit
23432d39ee
2 changed files with 24 additions and 9 deletions
|
|
@ -51,7 +51,7 @@ static void help(const char *argv0) {
|
|||
printf("%s %s\n", argv0, "stat");
|
||||
printf("%s %s\n", argv0, "info");
|
||||
printf("%s %s %s\n", argv0, "load-module", _("NAME [ARGS ...]"));
|
||||
printf("%s %s %s\n", argv0, "unload-module", _("#N"));
|
||||
printf("%s %s %s\n", argv0, "unload-module", _("NAME|#N"));
|
||||
printf("%s %s %s\n", argv0, "describe-module", _("NAME"));
|
||||
printf("%s %s %s\n", argv0, "set-(sink|source)-volume", _("NAME|#N VOLUME"));
|
||||
printf("%s %s %s\n", argv0, "set-(sink-input|source-output)-volume", _("#N VOLUME"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue