summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-12 11:46:05 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-12 11:46:05 -0400
commit17244177ee003ef7876247606fa2ffb8ffea0604 (patch)
tree4651659f7f16a6c81c49b07150d07573912180c4
parentb5c2a4ab961f7070d837d176367f7cbb6e9d3bbf (diff)
downloadrockbox-1724417.tar.gz
rockbox-1724417.zip
hosted: Fix a corner case in umuting the x3ii and erosq
Change-Id: I3ffc3b82c6137bab3f27cd87ccc57c2f03a1d401
-rw-r--r--firmware/drivers/audio/erosqlinux_codec.c1
-rw-r--r--firmware/drivers/audio/xduoolinux_codec.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/erosqlinux_codec.c b/firmware/drivers/audio/erosqlinux_codec.c
index d56e32c6ff..c8a104efd6 100644
--- a/firmware/drivers/audio/erosqlinux_codec.c
+++ b/firmware/drivers/audio/erosqlinux_codec.c
@@ -74,6 +74,7 @@ void audiohw_mute(int mute)
}
else
{
+ last_ps = 0;
erosq_get_outputs();
}
}
diff --git a/firmware/drivers/audio/xduoolinux_codec.c b/firmware/drivers/audio/xduoolinux_codec.c
index f9642812d3..0425989dc5 100644
--- a/firmware/drivers/audio/xduoolinux_codec.c
+++ b/firmware/drivers/audio/xduoolinux_codec.c
@@ -73,6 +73,7 @@ void audiohw_mute(int mute)
}
else
{
+ last_ps = 0;
xduoo_get_outputs();
}
}