summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/pulse/pulse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pulse/pulse.c b/plugins/pulse/pulse.c
index 05b278db..cd8f426c 100644
--- a/plugins/pulse/pulse.c
+++ b/plugins/pulse/pulse.c
@@ -143,8 +143,11 @@ static int pulse_play(void)
static int pulse_stop(void)
{
+ float vol = deadbeef->volume_get_amp();
+ deadbeef->volume_set_amp(0.0);
state = OUTPUT_STATE_STOPPED;
deadbeef->streamer_reset(1);
+ deadbeef->volume_set_amp(vol);
return 0;
}