sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit 3c996b019c84314d1535fd13b7a3baa4fb6b0f92
parent 45deefea71b908e2a0019b5b1fff34a89d80bb22
Author: Spenser Truex <truex@equwal.com>
Date:   Wed, 20 Jan 2021 13:52:55 -0800

Bugfix: important part of volume change in error catch

Tested to work on ALSA (only). Applies on top of the last patch.

Diffstat:
Moutput.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/output.c b/output.c @@ -261,8 +261,8 @@ setvol(int vol) continue; if (desc->output->vol(vol) < 0) { r = -1; - *desc->output->volstatus = vol; } + *desc->output->volstatus = vol; } return r; } @@ -303,3 +303,4 @@ disableoutput(const char *name) } return -1; } +