mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
daemon-conf: Add sync volume parameters to daemon-conf
Signed-off-by: Jyri Sarha <jyri.sarha@nokia.com> Reviewed-by: Tanu Kaskinen <tanu.kaskinen@digia.com> Reviewd-by: Colin Guthrie <cguthrie@mandriva.org>
This commit is contained in:
parent
43b3f39a2f
commit
3e53e3bba3
9 changed files with 31 additions and 6 deletions
|
|
@ -1831,6 +1831,7 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, const char*driver, pa_ca
|
|||
goto fail;
|
||||
}
|
||||
|
||||
sync_volume = m->core->sync_volume;
|
||||
if (pa_modargs_get_value_boolean(ma, "sync_volume", &sync_volume) < 0) {
|
||||
pa_log("Failed to parse sync_volume argument.");
|
||||
goto fail;
|
||||
|
|
|
|||
|
|
@ -666,7 +666,7 @@ int pa__init(pa_module *m) {
|
|||
struct udev_enumerate *enumerate = NULL;
|
||||
struct udev_list_entry *item = NULL, *first = NULL;
|
||||
int fd;
|
||||
pa_bool_t use_tsched = TRUE, ignore_dB = FALSE, sync_volume = FALSE;
|
||||
pa_bool_t use_tsched = TRUE, ignore_dB = FALSE, sync_volume = m->core->sync_volume;
|
||||
|
||||
|
||||
pa_assert(m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue