mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -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
|
|
@ -267,8 +267,8 @@ void pa_sink_detach(pa_sink *s);
|
|||
void pa_sink_attach(pa_sink *s);
|
||||
|
||||
void pa_sink_set_soft_volume(pa_sink *s, const pa_cvolume *volume);
|
||||
void pa_sink_volume_changed(pa_sink *s, const pa_cvolume *new_volume, pa_bool_t save);
|
||||
void pa_sink_mute_changed(pa_sink *s, pa_bool_t new_muted, pa_bool_t save);
|
||||
void pa_sink_volume_changed(pa_sink *s, const pa_cvolume *new_volume);
|
||||
void pa_sink_mute_changed(pa_sink *s, pa_bool_t new_muted);
|
||||
|
||||
pa_bool_t pa_device_init_description(pa_proplist *p);
|
||||
pa_bool_t pa_device_init_icon(pa_proplist *p, pa_bool_t is_sink);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue