multiple AUGraphs / Audio Hijack
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