diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-22 13:16:20 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-22 13:16:20 -0400 |
commit | 02c5dd364181ea40d2f9db01ab46a3733266513a (patch) | |
tree | 5951dedc23a596b605f6dac2a3ef1ff299ffc4bc /firmware/drivers | |
parent | 97b8692b6557b7514ff3ebdb02600d075314ddd1 (diff) | |
download | rockbox-02c5dd364181ea40d2f9db01ab46a3733266513a.tar.gz rockbox-02c5dd364181ea40d2f9db01ab46a3733266513a.zip |
fiio: Another bugfix in the mute code.
Change-Id: I165f4871fa79fb5759d2f0833c543edd5f1ce779
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/audio/fiiolinux_codec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/fiiolinux_codec.c b/firmware/drivers/audio/fiiolinux_codec.c index 05cd2c7037..8b1f14662e 100644 --- a/firmware/drivers/audio/fiiolinux_codec.c +++ b/firmware/drivers/audio/fiiolinux_codec.c | |||
@@ -141,6 +141,8 @@ void audiohw_mute(int mute) | |||
141 | if (fd_hw < 0 || muted == mute) | 141 | if (fd_hw < 0 || muted == mute) |
142 | return; | 142 | return; |
143 | 143 | ||
144 | muted = mute; | ||
145 | |||
144 | if(mute) | 146 | if(mute) |
145 | { | 147 | { |
146 | alsa_controls_set_ints("DACL Playback Volume", 1, &vol0); | 148 | alsa_controls_set_ints("DACL Playback Volume", 1, &vol0); |