From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000819]: Patch to make Dummy driver a loopback device Date: Wed, 19 Jan 2005 17:11:58 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 546AD26D for ; Wed, 19 Jan 2005 17:11:58 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: tschneider Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 819 Category: GENERIC - dummy Reproducibility: always Severity: feature Priority: normal Status: new Distribution: Kernel Version: 2.6.10 ====================================================================== Date Submitted: 01-15-2005 02:26 CET Last Modified: 01-19-2005 17:11 CET ====================================================================== Summary: Patch to make Dummy driver a loopback device Description: This patch updates the Dummy ALSA device to be a loopback device. (i.e. the sound played to the device is available on the capture output) This patch is against the dummy driver in the 2.6.10 linux kernel. ====================================================================== ---------------------------------------------------------------------- tiwai - 01-19-05 17:11 ---------------------------------------------------------------------- Thanks for the patch. First, please provide a bit more detailed description of the patch, and signed-off-by line, as described in News page. The internal buffer should be card specific and shouldn't be a static array of such a big size. Use vmalloc() and allocate/free it dynamically for each card instance. But, I think it'd be better to copy directly from the playback buffer to the capture buffer without an intermediate buffer. Issue History Date Modified Username Field Change ====================================================================== 01-15-05 02:26 tschneider New Issue 01-15-05 02:26 tschneider File Added: loopback-alsa-dummy.v7.patch 01-15-05 02:26 tschneider Kernel Version => 2.6.10 01-19-05 17:11 tiwai Note Added: 0003300 ====================================================================== ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt