• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mirroring Audio Output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mirroring Audio Output


  • Subject: Re: Mirroring Audio Output
  • From: William Stewart <email@hidden>
  • Date: Mon, 21 May 2007 12:05:24 -0700

As Jeff posted in another post, Jack provides a reasonably good way to do this (and its opensource)

On 06/05/2007, at 9:32 PM, Rich Wardwell wrote:

This is a relatively old thread, but I have the need to do something similar -- process audio from other apps in real-time while still sending the audio to the output device (unadulterated). I looked (briefly) at the AudioReflectorDriver sample. It appears to be what I need except that it's a kernel extension. Is there some way this can be done in the user space? I believe the RA guys do this with AHP. I'm not trying to capture the audio in full - but to do some processing in real-time and extract certain features (so my needs are similar). My hack (for now) has been running a splitter off the headphones and bringing the audio back into the line-in. This, uh.. kinda sucks... but works for the short-term...

Any suggestions would be greatly appreciated.

Rich
Software Developer,  Mac Fanatic




On Jan 4, 2007, at 2:10 PM, Jeff Moore wrote:

I should have added that this doesn't mean that it's impossible. For example, there are several tools out there that pose as a virtual device to route the audio back out to user space where a program can then send it to where ever it likes. The AudioReflectorDriver example code in our SDK provides a simplistic attempt at this. There are also more complex tools, like Jack for instance, that do routing and a bunch of other cool things too.

On Jan 4, 2007, at 11:56 AM, Jeff Moore wrote:

If I understand what you are saying, you want to tap the mixed output data as it gets sent to the hardware, right? If so, the system does not provide a means to do that.

On Jan 4, 2007, at 9:43 AM, Nick Nallick wrote:

I'm a CoreAudio newbie so I apologize if this is a stupid question...

I'm trying to mirror all of a computer's audio output to a second location (e.g., like Airport Express). What I'm trying to do is to tap into the audio stream at the end of the chain and do my own processing without affecting the local output. I've looked at the recording examples, which seem a good place to start with one exception. These examples take their input from the system input. What I want to do is to take my input from the system output. Can somebody point me in the correct direction?


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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

_______________________________________________ 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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


  • Follow-Ups:
    • Re: Mirroring Audio Output
      • From: Rich Wardwell <email@hidden>
References: 
 >Re: Mirroring Audio Output (From: Rich Wardwell <email@hidden>)

  • Prev by Date: Re: Localizing AU Name
  • Next by Date: Re: ExtAudioFileWrite - memory or IO problem, data not flushed to disk immediately
  • Previous by thread: Re: Mirroring Audio Output
  • Next by thread: Re: Mirroring Audio Output
  • Index(es):
    • Date
    • Thread