mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-16 22:05:30 -05:00
core: save volume/mute changes coming from the hardware automatically
Volume changes coming from the lower layers are most likely changes triggered by the user, so let's save them automatically.
This commit is contained in:
parent
aa7408b54b
commit
51b3899348
6 changed files with 34 additions and 29 deletions
|
|
@ -237,8 +237,8 @@ void pa_source_detach(pa_source *s);
|
|||
void pa_source_attach(pa_source *s);
|
||||
|
||||
void pa_source_set_soft_volume(pa_source *s, const pa_cvolume *volume);
|
||||
void pa_source_volume_changed(pa_source *s, const pa_cvolume *new_volume, pa_bool_t save);
|
||||
void pa_source_mute_changed(pa_source *s, pa_bool_t new_muted, pa_bool_t save);
|
||||
void pa_source_volume_changed(pa_source *s, const pa_cvolume *new_volume);
|
||||
void pa_source_mute_changed(pa_source *s, pa_bool_t new_muted);
|
||||
|
||||
int pa_source_sync_suspend(pa_source *s);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue