webcam and audio capture

Hans Petter Selasky hps at selasky.org
Thu Jan 7 21:28:05 UTC 2016


On 01/07/16 21:17, Marco Beishuizen wrote:
> On Thu, 7 Jan 2016, the wise Hans Petter Selasky wrote:
>
>> Hi,
>>
>> That shouldn't be. Can you give some more details which commands you
>> tried to run?
>
> Sure, first I ran:
> sysctl hw.snd.basename_clone=0
>
> And then:
> virtual_oss -C2 -c 2 -b 16 -S -r 48000 -s 1000 -P /dev/dsp0 -R /dev/dsp4
> -d dsp
>
> I can see the virtual_oss process running, without any errors. But using
> FF Hello results in no sound at all (no output and no input).
>

Hi,

If you:

dd if=/dev/dsp of=/dev/dsp bs=128

Do you hear yourself?

Also, did you restart pulseaudio or any other daemon using /dev/dsp ? 
Possibly you'll need a special config entry for /dev/dsp for pulseaudio, 
if firefox is using that, because Virtual OSS devices are not listed in 
/dev/sndstat which pulseaudio scans.

--HPS



More information about the freebsd-multimedia mailing list