Re: tee-like function via virtual_oss

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Mon, 04 Oct 2021 07:21:02 UTC
Hi,

On 10/3/21 11:33 PM, J P wrote:
> Hi,
> thank you.
> 
> It does not seems to work. I get all null samples when recording.
> 

Which dsp device are you recording from?

> Maybe it's a matter of gain? How do I control gain with virtual_oss?

You can install virtual_oss_ctl to control the gain.

I tested with SOX from ports and it works fine here:

env AUDIODEV=/dev/dsp9 play somefile.wav &

env AUDIODEV=/dev/dsp9 rec somerecording.wav

--HPS