[wplug] Alsa & route_policy copy

Bryon Gill bgtrio at yahoo.com
Mon Jun 5 17:33:43 EDT 2006

I'm not certain about the best way to do this in software, but if you have a 
full-duplex sound card you could always just run a cable between your line out 
and line in and record the analog signal.

On Mon, 5 Jun 2006, Rob Knapp wrote:

> I'm trying to record the output of my sound card, I've come across a
> bunch of articles saying that simply putting by simply putting  the
> following in ~/.asoundrc file & using arecord should be enough.
> pcm.copy {
>  type plug
>  slave {
>    pcm hw
>  }
>  route_policy copy
> }
> The arecord command then being:
> arecord -f cd -t wav -D copy foobar.wav
> However, this file always appears to be empty when I'm done recording.
> Additional (helpful?) facts:
> 1) The application (Elluminate) is written in Java and appears to only
> recognize OSS drivers, so I'm forced to use the alsa-oss emulation
> layer.
> 2) I've also tried esd & esdmon, but the app just blows past that and
> goes straight to the OSS drivers.  (At least the output of esdmon is an
> empty file).
> 3) I've tried to use audacity, but the app grabs the sound card and poor
> audacity can't get control to record anything.
> Anyone out there have experience in doing this (trying to get the sound
> output from a stubborn application)?
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug

More information about the wplug mailing list