summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-22 13:16:20 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-22 13:16:20 -0400
commit02c5dd364181ea40d2f9db01ab46a3733266513a (patch)
tree5951dedc23a596b605f6dac2a3ef1ff299ffc4bc
parent97b8692b6557b7514ff3ebdb02600d075314ddd1 (diff)
fiio: Another bugfix in the mute code.
Change-Id: I165f4871fa79fb5759d2f0833c543edd5f1ce779
-rw-r--r--firmware/drivers/audio/fiiolinux_codec.c2
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)
if (fd_hw < 0 || muted == mute)
return;
+ muted = mute;
+
if(mute)
{
alsa_controls_set_ints("DACL Playback Volume", 1, &vol0);