Capturing audio output
Hi,
I'm trying to build a program to grab whatever's being played on a computer. There isn't a recording device that will in all cases pass the audio being outputed to a recording channel is there?
The idea being, if the user is playing a video, sound file, voice conversation, etc, whatever goes through the speakers going into my program.
What I actually want is so it goes out my program instead of the speakers (but I'm kinda flexible).
Is this possible without delving too much into alsa? (i.e. writing an app rather than re-writing alsa)
Any ideas would be greatly appreciated,
Cheers
Tarik
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
At Wed, 22 Feb 2006 16:53:22 +0000,
Quoted 7 lines · Tarik Reghif
Hi,
I'm trying to build a program to grab whatever's being played on a computer. There isn't a recording device that will in all cases pass the audio being outputed to a recording channel is there?
Quoted 5 lines
The idea being, if the user is playing a video, sound file, voice conversation, etc, whatever goes through the speakers going into my program.
What I actually want is so it goes out my program instead of the speakers (but I'm kinda flexible).
If you're using a sound card with ac97 codec chip, you can set "Mix" as the capture source. On alsamixer, go to capture view mode via Tab, choose "Mix", then push space to toggle the capture source.
It's not always a good quality, but easily done without any software setting.
Some other codecs like HD-audio have similar functions.
Quoted 2 lines
Is this possible without delving too much into alsa? (i.e. writing an app rather than re-writing alsa)
A loopback pluging isn't properly implemented yet, unfortunately.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642