From 8d3362cec6263301ec5a8b40cc0ef333ca721c30 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 18 Jun 2009 03:41:49 +0200 Subject: [PATCH] device-restore: properly check save_muted flag when storing muted state --- src/modules/module-device-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-device-restore.c b/src/modules/module-device-restore.c index 5fa6f06..a2745b8 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; } -- 2.7.4