• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Merging Audio Unit with ViewController iOS 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: AVURLAsset.duration on AAC-compressed files is not returning the correct sample count.
  • Next by Date: Re: How do you pause, stop and reset an AUFilePlayer in IOS5?
  • Previous by thread: AVURLAsset.duration on AAC-compressed files is not returning the correct sample count.
  • Next by thread: Re: How do you pause, stop and reset an AUFilePlayer in IOS5?
  • Index(es):
    • Date
    • Thread