Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2011 10:07:35 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Juergen Lock <nox@jelal.kn-bremen.de>, Alexander Leidinger <netchild@FreeBSD.org>
Cc:        emulation@FreeBSD.org, multimedia@FreeBSD.org
Subject:   Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...)
Message-ID:  <4DAFD7B7.2000906@FreeBSD.org>
In-Reply-To: <20110420192349.GA23498@triton8.kn-bremen.de>
References:  <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> <4DA72B26.7010009@FreeBSD.org> <20110415174620.GA31480@triton8.kn-bremen.de> <4DA96AC2.5020302@FreeBSD.org> <20110420192349.GA23498@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
on 20/04/2011 22:23 Juergen Lock said the following:
> Ok so I finally got around to testing this myself, using your updated
> audio/linux-f10-pulseaudio-libs port from
> 
> 	http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156112
> 
> and found two things:
> 
> a) I still needed the symlink you mentioned ~/.pulse/${hostname}:runtime
>    - was this what the patch was supposed to fix?

Hmm.  I see that the new src rpm has the patch, but it doesn't look like it got
actually applied in the rpm:
$ strings /compat/linux/usr/lib/libpulse.so.0.7.1| fgrep runtime
%s/%s:runtime

My testing was sloppy because as it turns out I hadn't removed the symlink
before it.

Alexander,  can you please take a look at this?
Looks like %patch3 is missing in %prep section, but I am not sure if that is
actually required.

> b) You said earlier that pulseaudio's mmap support for recording is
>    broken, I found that too and found this workaround:  Instead of
>    changing /usr/local/etc/pulse/client.conf I changed
>    /usr/local/etc/pulse/default.pa - I commented out the line:
> 
> 	load-module module-detect
> 
>   and added two lines:
> 
> 	load-module module-oss device="/dev/dsp4" source_name=input mmap=0
> 	load-module module-oss device="/dev/dsp0" sink_name=output
> 
>   (dsp4 is the webcam's mic in this case.)

BTW, you can also override these settings per user, in ~/.pulse/.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DAFD7B7.2000906>