: Patch to make Dummy driver a loopback device
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-20-2005 06:37 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.
----------------------------------------------------------------------
tschneider - 01-20-05 06:37
----------------------------------------------------------------------
Ah, very good. Thank you for reviewing the patch. I will submit a new patch when I get these changes implemented and tested.
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 01-20-05 06:37 tschneider Note Added: 0003323
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl