Merging Audio Unit with ViewController iOS 5
Merging Audio Unit with ViewController iOS 5
- Subject: Merging Audio Unit with ViewController iOS 5
- From: Richard Oths <email@hidden>
- Date: Wed, 01 Aug 2012 06:50:45 -0500
Hello,
Newcomer to iOS/Objective-C from C# world. I have written/pieced together code for an iPhone audio app that will superimpose sine frequencies atop MPMedia file output. Right now I have two separate Xcode projects: Audio Unit and a single ViewController project that makes ample use of MPMediaPickerController. For audio unit, I employed a render callback methodology to fill buffers from code-generated sine waves sending to audio hardware output. The ViewController project allows for choosing audio file.
Finding it difficult to merge both files. Right now the audio unit uses a struct to pass around state information to render callback. All property setup and function calls are initiated in application didFinishLaunchingWithOptions:, whereas the ViewController project uses this method as an override point, passing in only viewController window. The majority of work is done in implementation viewController via outlets and actions.
Any suggestions as to where to introduce render callbacks and struct definitions from audio unit project into viewController project?
Many thanks….Richard
_______________________________________________
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