forked from len0rd/rockbox
fiio: Another bugfix in the mute code.
Change-Id: I165f4871fa79fb5759d2f0833c543edd5f1ce779
This commit is contained in:
parent
97b8692b65
commit
02c5dd3641
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue