diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-06-18 03:41:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-06-18 03:41:49 +0200 |
commit | 8d3362cec6263301ec5a8b40cc0ef333ca721c30 (patch) | |
tree | 69ae44e09f6fbd0aa0dfddae3cdee430e90d34e1 /src | |
parent | 39b37a2bac34df671a3ff5a5d4ea8b4003f09fc9 (diff) |
device-restore: properly check save_muted flag when storing muted state
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-device-restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-device-restore.c b/src/modules/module-device-restore.c index 5fa6f061b..a2745b88e 100644 --- a/src/modules/module-device-restore.c +++ b/src/modules/module-device-restore.c @@ -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; } |