summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/media-keys/gsd-media-keys-manager.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 7d3cdf54..7b50e92b 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -1400,7 +1400,6 @@ show_volume_osd (GsdMediaKeysManager *manager,
GvcMixerUIDevice *device;
const GvcMixerStreamPort *port;
const char *icon;
- gboolean playing;
double new_vol;
double max_volume;
@@ -1425,9 +1424,7 @@ show_volume_osd (GsdMediaKeysManager *manager,
show_osd_with_max_level (manager, icon, NULL, new_vol, max_volume, NULL);
}
- playing = gvc_mixer_stream_get_state (stream) == GVC_STREAM_STATE_RUNNING;
-
- if (quiet == FALSE && sound_changed != FALSE && muted == FALSE && playing == FALSE)
+ if (quiet == FALSE && sound_changed != FALSE && muted == FALSE)
play_volume_changed_audio (manager, stream);
}