<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slstatus/components/volume.c, branch native-functions</title>
<subtitle>A custom configuration of the suckless status utility</subtitle>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/'/>
<entry>
<title>volume: avoid NULL dereference in onval() on sndio device switch</title>
<updated>2026-02-12T21:45:28+00:00</updated>
<author>
<name>Chris Billington</name>
<email>emulti@disroot.org</email>
</author>
<published>2025-11-21T04:31:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=6fa36bad9f74154d4bf3be834ada93e04bf737e1'/>
<id>6fa36bad9f74154d4bf3be834ada93e04bf737e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>radical re-formatting 0/3: Alphabetic headers</title>
<updated>2022-10-27T23:03:20+00:00</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-10-27T21:18:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=0696635bcbad06770cce7d5a4c9e8e4d76868307'/>
<id>0696635bcbad06770cce7d5a4c9e8e4d76868307</id>
<content type='text'>
Except stated otherwise in comment.

Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Except stated otherwise in comment.

Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
</pre>
</div>
</content>
</entry>
<entry>
<title>components/*.c: include slstatus.h</title>
<updated>2022-10-26T21:32:07+00:00</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-10-26T20:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=28ef0b242c32e8ae8b4df2b4b380e30bf581130f'/>
<id>28ef0b242c32e8ae8b4df2b4b380e30bf581130f</id>
<content type='text'>
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reset sndiod initialization flag on disconnects</title>
<updated>2022-10-26T19:24:16+00:00</updated>
<author>
<name>Ingo Feinerer</name>
<email>feinerer@logic.at</email>
</author>
<published>2021-02-15T11:56:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=3b699c127db745b32002c14d59a6de4ebcc0b7db'/>
<id>3b699c127db745b32002c14d59a6de4ebcc0b7db</id>
<content type='text'>
If the connection is lost to the sndiod(8) daemon reset the
initialization to allow for a graceful restart.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the connection is lost to the sndiod(8) daemon reset the
initialization to allow for a graceful restart.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make volume component work on FreeBSD</title>
<updated>2022-10-26T19:24:14+00:00</updated>
<author>
<name>michaelbuch12@gmail.com</name>
<email>michaelbuch12@gmail.com</email>
</author>
<published>2021-01-01T15:52:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=798809ce02528d5954e0b1d524f44c29503a7407'/>
<id>798809ce02528d5954e0b1d524f44c29503a7407</id>
<content type='text'>
- Edit compile instructions
- Reuse OpenBSD sndio implementation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Edit compile instructions
- Reuse OpenBSD sndio implementation
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the sioctl_open(3) OpenBSD API to access vol</title>
<updated>2020-11-30T20:24:33+00:00</updated>
<author>
<name>Ingo Feinerer</name>
<email>feinerer@logic.at</email>
</author>
<published>2020-05-09T10:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=9ac721c23fb640de2a6d1f84c84a79b2ccc26691'/>
<id>9ac721c23fb640de2a6d1f84c84a79b2ccc26691</id>
<content type='text'>
Starting with OpenBSD 6.7 regular users cannot access raw audio devices
anymore, for improved security.

Instead use the sioctl_open(3) API to access and manipulate audio
controls exposed by sndiod(8). On the first call a permanent connection
is established with the running sndiod daemon, and call-back functions
are registered which are triggered when audio controls are changed
(e.g., a USB headset is attached) or when the volume is modified. On
subsequent calls we poll for changes; if there are no volume changes
this costs virtually nothing.

Joint work with Alexandre Ratchov
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting with OpenBSD 6.7 regular users cannot access raw audio devices
anymore, for improved security.

Instead use the sioctl_open(3) API to access and manipulate audio
controls exposed by sndiod(8). On the first call a permanent connection
is established with the running sndiod daemon, and call-back functions
are registered which are triggered when audio controls are changed
(e.g., a USB headset is attached) or when the volume is modified. On
subsequent calls we poll for changes; if there are no volume changes
this costs virtually nothing.

Joint work with Alexandre Ratchov
</pre>
</div>
</content>
</entry>
<entry>
<title>Add native OpenBSD support for mute/volume</title>
<updated>2019-02-13T12:35:44+00:00</updated>
<author>
<name>Ingo Feinerer</name>
<email>feinerer@logic.at</email>
</author>
<published>2019-02-08T14:37:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=c1dc896c806693a4a368abf59e6890d32d520074'/>
<id>c1dc896c806693a4a368abf59e6890d32d520074</id>
<content type='text'>
Based on functionality in dstat by Joerg Jung.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on functionality in dstat by Joerg Jung.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up header includes</title>
<updated>2018-05-30T17:35:37+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-30T17:35:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=b0401b13bb78bacde9d10b00766830cbeb2c90f6'/>
<id>b0401b13bb78bacde9d10b00766830cbeb2c90f6</id>
<content type='text'>
 - Remove &lt;errno.h&gt; because related functions are in util.c now
 - Remove corresponding &lt;string.h&gt; if not used otherwise
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Remove &lt;errno.h&gt; because related functions are in util.c now
 - Remove corresponding &lt;string.h&gt; if not used otherwise
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove units from numbers</title>
<updated>2018-05-20T22:16:54+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-20T22:16:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=ec5c35ec9f23254f09e734d0c1880559774dfa52'/>
<id>ec5c35ec9f23254f09e734d0c1880559774dfa52</id>
<content type='text'>
This is a first step to decouple formatting from information because of
two reasons:

 1. The components should only gather and return the values by design
 2. Fine grained user control should be a focus

Scaling will be implemented in a different way in a later commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a first step to decouple formatting from information because of
two reasons:

 1. The components should only gather and return the values by design
 2. Fine grained user control should be a focus

Scaling will be implemented in a different way in a later commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the percent sign to *_perc functions</title>
<updated>2018-05-19T18:33:06+00:00</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-19T18:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sobczak.family/slstatus/commit/?id=74c4f4ebdae8a12fc95840954dde574692234b01'/>
<id>74c4f4ebdae8a12fc95840954dde574692234b01</id>
<content type='text'>
Units should be added to the corresponding numbers
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Units should be added to the corresponding numbers
</pre>
</div>
</content>
</entry>
</feed>
