Re: Intercepting audio from WebKit
Re: Intercepting audio from WebKit
- Subject: Re: Intercepting audio from WebKit
- From: Paul Davis <email@hidden>
- Date: Wed, 25 May 2011 12:36:42 -0400
On Wed, May 25, 2011 at 10:22 AM, Jason Perkins
<email@hidden> wrote:
> New to Cocoa and especially Core Audio, so apologies in advance if I've missed something completely obvious.
>
> I have a WebKit-based application that plays Pandora Radio. I'd like to add an equalizer. In order to do this, I have to get at the audio coming out of the Flash plugin.
>
> I developed a proof-of-concept using mach_override to intercept the Core Audio APIs. This works, but is...crude, and I'd like to find a way that uses the APIs to do it properly, if possible.
>
> Based on what I've read in the archives and my own experiements, it appears that it is not possible to get my application's audio out of AUHAL once it has gone in.
to quote jeff moore from this list a few months ago, regarding 3
different routing options:
"The three pieces of software you mention use completely
different ways to achieve their behavior. Soundflower is a kernel
driver that copies the data from it's output back to it's input. Audio
Hijack patches the HAL in a process to insert itself in the audio
stack. JACK is a user-land driver that sends audio to a server for
distribution."
That should give you some clues.
_______________________________________________
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