Skip to contentSkip to conversation

: Patch to make Dummy driver a loopback device

ALSA - driver 0000819 [email protected] 1 participant 1 message Jan 19, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=819>
======================================================================
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