On Tue, Mar 02, 2021 at 02:02:04PM +0100, Peter Hessler wrote: > On 2021 Mar 02 (Tue) at 05:15:46 -0700 (-0700), Edd Barrett wrote: > :Modified files: > : usr.bin/sndiod : dev.c siofile.c > ... > :We can only assume that if you deviate from defaults, then you know what > :you are doing. > > I notice that you didn't include any documentation on this. Can you > update the man page for how to use this, as I currently do not know what > I am doing.
What we do when device lacks capabilities is not documented (yet). We used to drop client connection; now we play/record silence to ease seamless migration to/from play-only (or rec-only) devices without disturbing programs. Indeed, maybe it's worth adding a paragraph to describe what happens if device doesn't support desired parameters & modes.
