• 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
multiple AUGraphs / Audio Hijack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple AUGraphs / Audio Hijack


  • Subject: multiple AUGraphs / Audio Hijack
  • From: Brian Whitman <email@hidden>
  • Date: Thu, 2 Nov 2006 11:45:00 -0500

I have an app that needs two separate AUTimePitch nodes on separate audio streams. We've previously discovered that you can't have two AUTimePitch effects (or other format converters) in parallel at different rates in the same AUGraph.

To get around this, we just create two AUGraphs (scheduledsoundplayer -> autimepitch -> mixer -> defaultoutput) and two MusicPlayer instances (to schedule the stretch), and start playing them at the same time.

I am wondering if this is the supported method, or if it will end up breaking in future OS or API revisions. I ask because I recently tried to use Audio Hijack to capture the output of our app -- it only recorded the first graph/musicplayer. I can still hear the second graph out the speakers. I understand that AH is not using any public API, but if it doesn't work with their app I'm worried that there will be other configurations or future changes that'll break our stuff.

- Is creating multiple AUGraphs/MusicPlayers (multiple 'speaker' output units) in a single app supported?
- If not, is there any other way to use two AUTimePitch objects in parallel in a single graph?


-Brian


_______________________________________________ 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: multiple AUGraphs / Audio Hijack
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Reading the contents of an Audio file
  • Next by Date: DeferredRender strangeness
  • Previous by thread: Re: problem encoding in PCM format
  • Next by thread: Re: multiple AUGraphs / Audio Hijack
  • Index(es):
    • Date
    • Thread