iOS Audio Units : When is usage of AUGraph's necessary?

Viewed 6825

I'm totally new to iOS programing (I'm more an Android guy..) and have to build an application dealing with audio DSP. (I know it's not the easiest way to approach iOS dev ;) )

The app needs to be able to accept inputs both from :

1- built-in microphone 2- iPod library

Then filters may be applied to the input sound and the resulting is to be outputed to :

1- Speaker 2- Record to a file

My question is the following : Is an AUGraph necessary in order to be able for example to apply multiple filters to the input or can these different effects be applied by processing the samples with different render callbacks ?

If I go with AUGraph do I need : 1 Audio Unit for each input, 1 Audio Unit for the output and 1 Audio Input for each effect/filter ?

And finally if I don't may I only have 1 Audio Unit and reconfigure it in order to select the source/destination ?

Many thanks for your answers ! I'm getting lost with this stuff...

1 Answers
Related