On Tue, 17 Nov 2020 18:23:55 +0100 "Peter J. Philipp" <p...@centroid.eu>:
> This is a good suggestion! Thanks! I have updated the patch. I also > appreciate Solene's offer for manpage addition, thanks! > > New diff follows... let me know if it can be done better, I won't be able > to update it until tomorrow. > > -peter I suggest this change. I added the new variable after MIDIDEVICE in the ENVIRONMENT section to keep order of appearance in the document. Index: sndio.7 =================================================================== RCS file: /home/reposync/src/lib/libsndio/sndio.7,v retrieving revision 1.24 diff -u -p -r1.24 sndio.7 --- sndio.7 18 Jul 2020 05:01:14 -0000 1.24 +++ sndio.7 17 Nov 2020 18:32:34 -0000 @@ -157,6 +157,10 @@ If it is not set, the program first trie .Li snd/0 . If that fails, it then tries to use .Li rsnd/0 . +The +.Ev AUDIORECDEVICE +environment variable +defines a device to use prior to the audio device when recording. .Pp Similarly, if no MIDI descriptor is provided to a program or when the reserved word @@ -196,6 +200,9 @@ Audio device descriptor to use when no descriptor is explicitly specified to a program. .It Ev MIDIDEVICE MIDI port descriptor to use +when no descriptor is explicitly specified to a program. +.It Ev AUDIORECDEVICE +Audio recording device descriptor to use when no descriptor is explicitly specified to a program. .El .Pp