mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Modify pa_state_path() to take an additional argument for prepending the machine id to the file name.
This commit is contained in:
parent
bd05b36a1e
commit
ecb2bc4f04
6 changed files with 32 additions and 31 deletions
|
|
@ -493,7 +493,7 @@ int pa__init(pa_module*m) {
|
|||
|
||||
m->userdata = u;
|
||||
|
||||
if (!(u->table_file = pa_state_path(pa_modargs_get_value(ma, "table", DEFAULT_VOLUME_TABLE_FILE))))
|
||||
if (!(u->table_file = pa_state_path(pa_modargs_get_value(ma, "table", DEFAULT_VOLUME_TABLE_FILE), TRUE)))
|
||||
goto fail;
|
||||
|
||||
if (pa_modargs_get_value_boolean(ma, "restore_device", &restore_device) < 0 ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue