mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: implement describe-module with core message
Implement the old pacmd describe-module command with a core message: pactl send-message /core pipewire-pulse:describe-module module-echo-cancel
This commit is contained in:
parent
b3ff293263
commit
a3ccbd00b4
4 changed files with 30 additions and 2 deletions
|
|
@ -293,7 +293,7 @@ void audioinfo_to_properties(struct spa_audio_info_raw *info, struct pw_properti
|
|||
}
|
||||
}
|
||||
|
||||
static const struct module_info *find_module_info(const char *name)
|
||||
const struct module_info *module_info_find(struct impl *impl, const char *name)
|
||||
{
|
||||
extern const struct module_info __start_pw_mod_pulse_modules[];
|
||||
extern const struct module_info __stop_pw_mod_pulse_modules[];
|
||||
|
|
@ -323,7 +323,7 @@ struct module *module_create(struct impl *impl, const char *name, const char *ar
|
|||
struct module *module;
|
||||
int res;
|
||||
|
||||
info = find_module_info(name);
|
||||
info = module_info_find(impl, name);
|
||||
if (info == NULL) {
|
||||
errno = ENOENT;
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue