[solved] sndiod: Cannot change bit depth and sample rate

2024-07-29 Thread rfabris
Dear Alexandre Am 2024-07-29 09:59, schrieb Alexandre Ratchov: The -r and -e options are device properties, so they must precede the -f option that adds the device. Try this: rcctl set sndiod flags -e s24 -r 96000 -f rsnd/1 -m play This is because there may be multiple devices with different p

Re: sndiod: Cannot change bit depth and sample rate

2024-07-29 Thread Alexandre Ratchov
On Sun, Jul 28, 2024 at 11:39:17PM +0200, rfab...@mhsmail.ch wrote: > > `$ rcctl get sndiod` > As expected: > > sndiod_class=daemon > sndiod_execdir= > sndiod_flags=-f rsnd/1 -m play -e s24 -r 96000 The -r and -e options are device properties, so they must precede the -f option that adds the

sndiod: Cannot change bit depth and sample rate

2024-07-28 Thread rfabris
Dear friends I'm trying to follow the hint given in https://marc.info/?l=openbsd-misc&m=167456556214809&w=2: >>I found out that I have to restart sndiod with either >>'sndiod_flags="-m play -r 44100"' or 'sndiod_flags="-m play -r 48000"' >>flags in /etc/rc.conf.local depending on the files I am