iPhone remoteIO AUGraph
iPhone remoteIO AUGraph
- Subject: iPhone remoteIO AUGraph
- From: "Raleigh F. Rinehart" <email@hidden>
- Date: Mon, 22 Jun 2009 16:35:45 -0500
Hi All,
I am new to coreAudio (and iphone) programming so let me apologize in
advanced if I mess up the terminology.
I am working on iPhone app that makes extensive use of audio. It will
have multiple WAV files playing simultaneously and each audio stream
should be independently controllable (i.e. start, stop, volume, pan,
etc).
I am building upon some examples I've found on the web, notably http://michael.tyson.id.au/2008/11/04/using-remoteio-audio-unit/
and
http://sites.google.com/site/iphoneappcoder/iphone-wav-file-playback.
Basically what I have are multiple AUGraphs each with a RemoteIO
output unit and a Multi channel mixer unit. Basically one graph per
Wav file.
This seems wrong to me, I have the nagging feeling that I should have
one AUGraph with each stream going through that. Would that be
better? If so how would that be accomplished, would I need to add
multiple mixer nodes for each file, each with its own callback. Or is
there someway to utilize a single callback to fill all the buffers?
In either case I think I would need multiple nodes/audio units so that
each one can be controlled independently.
Any, thoughts, suggestions, pointers to example code would be very
much appreciated!
thanks,
-raleigh
_______________________________________________
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