Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Peter J. Philipp
Sorry I apologize, I had my kern.audio.record set to 0. It works for me. *red faced* -peter On Wed, Nov 18, 2020 at 04:12:25PM +0100, Peter J. Philipp wrote: > On Wed, Nov 18, 2020 at 11:00:17AM +0100, Alexandre Ratchov wrote: > > Thanks; semarie suggested a similar diff, so below is an

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Peter J. Philipp
On Wed, Nov 18, 2020 at 11:00:17AM +0100, Alexandre Ratchov wrote: > Thanks; semarie suggested a similar diff, so below is an attempt to > take into account all the suggestions: > > - add AUDIOPLAYDEVICE, to handle play-only devices as well. We've the > very same problem for them. > > - use

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Alexandre Ratchov
On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > On 2020/11/17 17:13, Peter J. Philipp wrote: > > Hi, > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > > settings with audacity port but couldn't get this to work, so I chose the > > method of

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Solene Rapenne
On Tue, 17 Nov 2020 18:23:55 +0100 "Peter J. Philipp" : > 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

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Solene Rapenne
On Tue, 17 Nov 2020 17:13:49 +0100 "Peter J. Philipp" : > Hi, > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > settings with audacity port but couldn't get this to work, so I chose the > method of last resort. Below is a patch to allow an AUDIORECDEVICE >

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Ingo Schwarze
Hi Solene, sorry if i misunderstand because i did not fully follow the thread... Solene Rapenne wrote on Tue, Nov 17, 2020 at 07:36:38PM +0100: > I added the new variable after MIDIDEVICE in the ENVIRONMENT section > to keep order of appearance in the document. Usually, we order the

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Klemens Nanni
On Tue, Nov 17, 2020 at 06:23:55PM +0100, Peter J. Philipp wrote: > On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > > If AUDIORECDEVICE is unset, it would be better to fallback to > > AUDIODEVICE rather than directly to devany. > > This is a good suggestion! Thanks! I have

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Stuart Henderson
On 2020/11/17 18:23, Peter J. Philipp wrote: > On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > > On 2020/11/17 17:13, Peter J. Philipp wrote: > > > Hi, > > > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of > > > different > > > settings with audacity

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Peter J. Philipp
On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > On 2020/11/17 17:13, Peter J. Philipp wrote: > > Hi, > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > > settings with audacity port but couldn't get this to work, so I chose the > > method of

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Stuart Henderson
On 2020/11/17 17:13, Peter J. Philipp wrote: > Hi, > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > settings with audacity port but couldn't get this to work, so I chose the > method of last resort. Below is a patch to allow an AUDIORECDEVICE > environment >

AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Peter J. Philipp
Hi, I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different settings with audacity port but couldn't get this to work, so I chose the method of last resort. Below is a patch to allow an AUDIORECDEVICE environment variable specifying the wanted microphone. -peter Index: