Re: tee-like function via virtual_oss
- Reply: Hans Petter Selasky : "Re: tee-like function via virtual_oss"
- In reply to: J P : "Re: tee-like function via virtual_oss"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Oct 2021 08:12:16 UTC
Hi, no chance so far, just to be sure I got you right: 1. /dev/dsp0.9 created when basename_clone = 1 2. virtual oss started with -T /dev/sndstat -C 2 -c 2 -r 48000 -b 24 -s 8.0ms -R /dev/null *-P /dev/dsp0 -d dsp0.9* -M x,0,0,0,0,0 -M x,1,1,0,0,0 -t dsp.ctl -i 10 -S Still nothing when capturing. Environment: trying to grab audio from Firefox under KDE. Firefox is compiled with PULSEAUDIO on. When I enable virtual_oss and then start KDE there are no devices and the mixer does not work, so I cannot set the default playback device nor assign another playback device to Firefox when it outputs audio. It relays on hw.snd.default_unit (which happens to be set to 0). Furthermore when virtual_oss is started other apps behave inconsistently: vlc only shows the virtual_oss device in the list of output devices, all the other are gone, but audacity correctly shows the other rec devices as well as virtual_oss. What am I doing wrong? Thank you. El lun, 4 oct 2021 a las 12:38, J P (<webplication@gmail.com>) escribió: > Thank you for your email. > > I think the use-case I am facing is different: the player is using > /dev/dsp0.something, I have no control over it. > > Furthermore, since I installed virtual_oss all the audio devices have gone > from PulseAudio, which is a little odd. On top of this, /dev/ is being > populated with a lot of /dev/dsp0.x (now I have 14) and the number grows > the more I use audio. > > Can my goal be achieved with virtual_oss or would you suggest some other > tool? > > Thank you. > > > > El lun, 4 oct 2021 a las 9:21, Hans Petter Selasky (<hps@selasky.org>) > escribió: > >> 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 >> >