diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-12 11:46:05 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-12 11:46:05 -0400 |
commit | 17244177ee003ef7876247606fa2ffb8ffea0604 (patch) | |
tree | 4651659f7f16a6c81c49b07150d07573912180c4 | |
parent | b5c2a4ab961f7070d837d176367f7cbb6e9d3bbf (diff) | |
download | rockbox-17244177ee003ef7876247606fa2ffb8ffea0604.tar.gz rockbox-17244177ee003ef7876247606fa2ffb8ffea0604.zip |
hosted: Fix a corner case in umuting the x3ii and erosq
Change-Id: I3ffc3b82c6137bab3f27cd87ccc57c2f03a1d401
-rw-r--r-- | firmware/drivers/audio/erosqlinux_codec.c | 1 | ||||
-rw-r--r-- | firmware/drivers/audio/xduoolinux_codec.c | 1 |
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) | |||
74 | } | 74 | } |
75 | else | 75 | else |
76 | { | 76 | { |
77 | last_ps = 0; | ||
77 | erosq_get_outputs(); | 78 | erosq_get_outputs(); |
78 | } | 79 | } |
79 | } | 80 | } |
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) | |||
73 | } | 73 | } |
74 | else | 74 | else |
75 | { | 75 | { |
76 | last_ps = 0; | ||
76 | xduoo_get_outputs(); | 77 | xduoo_get_outputs(); |
77 | } | 78 | } |
78 | } | 79 | } |