From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 26 06:12:09 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 8B34F106564A; Tue, 26 Apr 2011 06:12:09 +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 927048FC19; Tue, 26 Apr 2011 06:12:08 +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 JAA15414; Tue, 26 Apr 2011 09:12:04 +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 1QEbVE-0005Mo-DW; Tue, 26 Apr 2011 09:12:04 +0300 Message-ID: <4DB66233.9090607@FreeBSD.org> Date: Tue, 26 Apr 2011 09:12:03 +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 References: <20110412172227.GA45105@triton8.kn-bremen.de> <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> <4DB1C48D.80903@FreeBSD.org> In-Reply-To: <4DB1C48D.80903@FreeBSD.org> 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: linux alsa lib 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: Tue, 26 Apr 2011 06:12:09 -0000 on 22/04/2011 21:10 Andriy Gapon said the following: > BTW, it just hit me that a reason for that could be exactly the same why native > pulseaudio doesn't get microphone input without tweaking either. > Maybe the same dsp mmap approach is used there, with the same result on FreeBSD. I've checked the sources and no, it's not the case. Alsa OSS plugin doesn't use mmap. On the other hand, I see that we do quite heavy patching to its native version (audio/alsa-plugins/files/patch-alsa-plugins). It's quite possible that the same patches (or at least a portion of them) are needed for the linux version to fix audio recording through the plugin. -- Andriy Gapon