1
0
Fork 0
forked from len0rd/rockbox

fiio: Another bugfix in the mute code.

Change-Id: I165f4871fa79fb5759d2f0833c543edd5f1ce779
This commit is contained in:
Solomon Peachy 2020-10-22 13:16:20 -04:00
parent 97b8692b65
commit 02c5dd3641

View file

@ -141,6 +141,8 @@ void audiohw_mute(int mute)
if (fd_hw < 0 || muted == mute) if (fd_hw < 0 || muted == mute)
return; return;
muted = mute;
if(mute) if(mute)
{ {
alsa_controls_set_ints("DACL Playback Volume", 1, &vol0); alsa_controls_set_ints("DACL Playback Volume", 1, &vol0);