mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
always-source: Fix pa_module_load() usage
The API changed slightly since the original patch was written.
This commit is contained in:
parent
15d28f21b4
commit
703d95fd00
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ static void load_null_source_if_needed(pa_core *c, pa_source *source, struct use
|
|||
u->ignore = true;
|
||||
|
||||
t = pa_sprintf_malloc("source_name=%s", u->source_name);
|
||||
m = pa_module_load(c, "module-null-source", t);
|
||||
pa_module_load(&m, c, "module-null-source", t);
|
||||
u->null_module = m ? m->index : PA_INVALID_INDEX;
|
||||
pa_xfree(t);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue