webcam and audio capture
Hans Petter Selasky
hps at selasky.org
Sat Dec 26 16:12:37 UTC 2015
On 12/26/15 13:31, Marco Beishuizen wrote:
> On Sat, 26 Dec 2015, the wise Michael Zhilin wrote:
>
>> Hi Marco,
>>
>> Do you have tried to change default_unit to 4? I don't remember exact
>> sysctl node, but it's easy to grep it:
>>
>> sysctl -a | grep default_unit
>>
>> It worked for me before to resolve all troubles with sound.
>>
>> Thanks!
>
> Hi Michael,
>
> This unfortunately doesn't work because the problem isn't the soundcard
> (output), but the webcam (input). Sound output is working fine
> (/dev/dsp0). But sound input should be /dev/dsp4 but is incorrectly also
> pointed to /dev/dsp0.
>
Hi,
Virtual OSS from my I4B SVN can do this.
svn --username anonsvn --password anonsvn \
checkout svn://svn.turbocat.net/i4b
cd i4b/trunk/virtual_oss
make all install
kldload cuse
kldload cuse4bsd
sysctl hw.snd.basename_clone=0
virtual_oss -C2 -c 2 -b 16 -S -r 48000 -s 1000 -P /dev/dspX -R /dev/dspY
-d dsp
--HPS
More information about the freebsd-multimedia
mailing list