From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: dsp after dmix Date: Mon, 14 Oct 2013 14:25:03 +0200 Message-ID: <525BE29F.1030107@ladisch.de> References: <525B985A.30409@ladisch.de> <525BE047.9000501@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by alsa0.perex.cz (Postfix) with ESMTP id 70F57261A92 for ; Mon, 14 Oct 2013 14:25:09 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Michael Trimarchi Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org Michael Trimarchi wrote: > On Mon, Oct 14, 2013 at 2:15 PM, Clemens Ladisch wrote: >> Michael Trimarchi wrote: >>> On Mon, Oct 14, 2013 at 9:08 AM, Clemens Ladisch wrote: >>>> Michael Trimarchi wrote: >>>>> My problem is to apply filtering after dmix plugin. >>>> >>>> The dmix plugin works only on top of a "hw" device. >>> >>> Yes I have seen the code. Is there anyway to work with dps without passing >>> thought pulseaudio? >> >> You would have to write an ALSA kernel driver for the DSP device. > > This is not a good approach of the general problem because a lot of dsp has userspace > support and firmware and initialization is done by userspace library. Can I change > the writei and readi of the dmix plugin and let use my dsp function? Yes, it would be possible to replace the dmix plugin with your dsp-mix plugin. Regards, Clemens