mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
device-restore: properly check save_muted flag when storing muted state
This commit is contained in:
parent
39b37a2bac
commit
8d3362cec6
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
|
|||
entry.volume_valid = TRUE;
|
||||
}
|
||||
|
||||
if (sink->save_volume) {
|
||||
if (sink->save_muted) {
|
||||
entry.muted = pa_sink_get_mute(sink, FALSE);
|
||||
entry.muted_valid = TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue