Thanks for your responses, while I try and study all this information, just inform that the machine that im using is a HP Pavilion dv5000 laptop. Im going to try all of this and I'll let you know. > Perhaps I'm confused, but I don't think what you are trying to do has > anything to do with selecting a different capture device. If you could > configure it the way you wanted, the best you could hope for is that > the speakers would vibrate in response to external sounds, and you > would pick up some sort of signal from that. (Which actually does > work, somewhat, but not what you're looking for.) > > You want to take the audio stream going to a playback device and > redirect it to a file. If whatever application you are using allows > you to specify the ALSA device, then use the 'tee' device to send it > both to the playback device and some file. For example, aplay lets you > give the device with -D: > > aplay -D tee:plug:dmix,/tmp/output.wav somefile.wav > > If you look in your alsa.conf, there will hopefully be a 'pcm.tee' > device already configured, which takes three arguments: a slave > device, a filename, and a format. The syntax seems to be (sorry I > can't give a definitive description; the details, if I have found > them, were buried in something too abstruse for me to find and > understand) device:arg1,arg2[,arg3....]. Here, device is 'tee', arg1 > is 'plug:dmix' (you could use 'hw:0' if you wanted it to go straight > out), and arg2 is '/tmp/output.wav'. The third argument might be > useful for setting the sample rate etc. of the output, but I don't > have an example to guess the syntax from for that. (Other than 'raw', > which is the default.) > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user