Date: Sat, 26 Dec 2015 17:14:30 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Marco Beishuizen <mbeis@xs4all.nl>, Michael Zhilin <mizhka@gmail.com> Cc: multimedia@freebsd.org Subject: Re: webcam and audio capture Message-ID: <567EBCE6.8000907@selasky.org> In-Reply-To: <alpine.BSF.2.20.1512261327050.90473@localhost> References: <alpine.BSF.2.20.1512251245220.2268@localhost> <CAF19XBLUWtPD0PNsa06YLCfTpJVrb2y=HyxKc-1%2B8b%2BnNWmPKw@mail.gmail.com> <alpine.BSF.2.20.1512261327050.90473@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?567EBCE6.8000907>
