Capturing audio from one app, sending to another
Capturing audio from one app, sending to another
- Subject: Capturing audio from one app, sending to another
- From: Evan Olcott <email@hidden>
- Date: Wed, 11 Jan 2006 15:16:13 -0600
Hey everyone!
I'm working on an application that's an audio analysis app, and so
far it's pretty cool and extensive. I'd like it to be able to capture
audio not only from the inputs on the machine (which it does now just
fine), but also audio outputs from other applications. I can only
think up 2 ways to do this:
1. Use a "Detour"-like routing where my app sees the list of running
applications with audio output, then the user can select the apps
from the list, and I tap into their AUGraph outputs somehow. How does
one tap into another app's audio output and get the audio buffers as
they come through? Rogue Amoeba's work seems to do this, what method
to they use?
2. Use a custom Audio Unit that captures the audio from that
particular place in the audio stream that it's been put in the app,
then send the buffer across application lines (and threads) into the
running analysis app for display. I can see AUNetSend (I've not tried
that), but could I use that or something similar to send buffers to
another app altogether?
Both solutions are probably necessary for different situations, but
I'm not sure of the possibility of either one. Has anyone done work
in this area, and/or are these things even possible?
BTW - my app in not intended to *record* from other apps, simply to
display pretty graphs and what not, so recording copyrighted material
stuff is not the issue in this app.
Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden