Morning Theo,

theo wrote:
> Alexandre Ratchov <a...@caoua.org> wrote:
>> Hi,
>>
>> mixerctl is still the appropriate tool here, sndioctl is not inteded
>> to be run as root.
>>
>> usbhidaction runs as root, given /dev/uhidN permissions, it's clearly
>> not intended to run "high level" user commands. For instance it makes
>> no sense to run "audiocious -u" when Pause/Play key is hit, it's the
>> similar for sndioctl. The mixerctl utility remains for such "low
>> level" use cases.
>
> Since all audio control methods are now available inside sndioctl, I
> have a hard time seeing why mixerctl has to remain.

sndiod(8) may not even be running. A simple mixer set operation becomes
an exercise in complexity. If you really want relative simplicitly:
implementing loopback audio devices would seem to be a start. It's been
done w/ midi(4), why not w/ audio(4)?

>> Any program using sndiod is intended to be used one user at a time for
>> obvious privacy reasons, this is quickly explained in the last
>> section of sndio(7).
>
> What are the chances that isn't the user on the USB bus?
>
> Requiring people to use doas? Honestly, I find that offensive.

Me, too. </AOL>.

         --zeurkous.

-- 
Friggin' Machines!

Reply via email to