commit 3c996b019c84314d1535fd13b7a3baa4fb6b0f92 Spenser Truex <truex@equwal.com> 2021-01-20 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.
output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/output.c b/output.c index ceb3e11..3d2d645 100644 --- 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; } +