From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 21 07:07:41 2011 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05D2B106566C; Thu, 21 Apr 2011 07:07:41 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D6F228FC0A; Thu, 21 Apr 2011 07:07:39 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA06605; Thu, 21 Apr 2011 10:07:37 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1QCnzE-000FEI-N7; Thu, 21 Apr 2011 10:07:36 +0300 Message-ID: <4DAFD7B7.2000906@FreeBSD.org> Date: Thu, 21 Apr 2011 10:07:35 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Juergen Lock , Alexander Leidinger 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> In-Reply-To: <20110420192349.GA23498@triton8.kn-bremen.de> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 07:07:41 -0000 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