Re: [hackers] [slstatus] : update vol_perc for OpenBSD

From: prx <prx_AT_ybad.name>
Date: Wed, 30 Sep 2020 16:56:09 +0200

* Ingo Feinerer <feinerer_AT_logic.at> le [30-09-2020 15:11:29 +0200]:
> On Wed, Sep 30, 2020 at 02:42:07PM +0200, prx wrote:
> > Find attached a patch to support (not so new) sndiod OpenBSD.
>
> FYI: https://lists.suckless.org/hackers/2005/17308.html

Nice, thanks a lot !
I totally missed that, and still was using

        sndioctl output.level | awk -F = '{printf "%d\n",$2*100}'

in a run_command().

You patch should be imported IMHO.

Regards.
Received on Wed Sep 30 2020 - 16:56:09 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 30 2020 - 17:00:33 CEST