Play an audio file using RemoteIO and Audio Unit

Posted by NeilMonday on Stack Overflow See other posts from Stack Overflow or by NeilMonday
Published on 2010-04-04T19:43:32Z Indexed on 2010/04/04 19:53 UTC
Read the original article Hit count: 815

Filed under:
|
|

I am looking at Apple's 'aurioTouch' example for the iPhone and I would like to play an mp3 or wav instead of using the built in mic. I am very new to the audio portion of iPhone programming, but I think I need to modify the SetupRemoteIO(...) function and replace the AudioComponent named 'comp' with a custom AudioComponent that plays a file. Basically I want the app to function exactly the same as the original, but with an audio file as the input instead of the mic.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa