From: Abramo Bagnara Subject: Re: Re: dmix plugin Date: Wed, 19 Feb 2003 11:20:09 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <3E535A59.63721BE2@libero.it> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jaroslav Kysela Cc: Jaroslaw Sobierski , "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org Jaroslav Kysela wrote: > > I've implemented the whole transfer and mix loop in assembly and it works > without any drastic impact on CPU usage. I tried to optimize the assembler > part as much as I can, but if some assembler guru want to give a glance, > I'll appreciate it. The function is named mix_areas1() in > alsa-lib/src/pcm/pcm_dmix.c. one comment: It's better to execute interleaved check once and not in mix_areas one objection: I doubt very much that you gain anything coding the mixing loop in assembler, you've data showing that? -- Abramo Bagnara mailto:abramo.bagnara@libero.it Opera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge