Monday, July 29, 2024

Re: sndiod: Cannot change bit depth and sample rate

On Sun, Jul 28, 2024 at 11:39:17PM +0200, rfabris@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 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
parameters. See the last paragraphs of the DESCRIPTION section of
sndiod(8).

No comments:

Post a Comment