• 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
Custom Audio Units on the iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom Audio Units on the iPhone


  • Subject: Custom Audio Units on the iPhone
  • From: Thomas Zoechling <email@hidden>
  • Date: Mon, 24 Nov 2008 15:59:34 +0100

I am trying to use Audio Units and AUGraph on the iPhone (SDK 2.2)
I want to build a simple AUGraph from 5 audio units that render a sine wave.
The sine wave units are connected to a mixer that is hooked to a default output device node.
My first attempt was, to use a default Audio Unit and provide a render callback to create the sine wave.
(Similar to /Developer/Examples/CoreAudio/SimpleSDK/DefaultOutputUnit)
This works for one single unit, playing on the default output device. (after some small changes, the DefaultOutputUnit sample also works on the iPhone)
As I need several units that generate output at the same time, I wanted to use AUGraph.
To my understanding, the AUGraph API wants me to connect my sine-wave AUs to the mixer and the mixer to an output node.
Therefore the sine-wave AUs should have the component type kAudioUnitType_Generator. (I think this would be the right component type for the task I am trying to accomplish)
But there seems to be no default generator unit available on the phone and so I cannot provide my render callback.
Do I have to implement a full Generator Audio Unit?
The iPhone Application Programming Guide states that this should be possible (http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AudioandVideoTechnologies/chapter_9_section_2.html#/ /apple_ref/doc/uid/TP40007072-CH19-SW4)
but I could not find any further details.
Has someone implemented a custom AU on the phone?
_______________________________________________
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
  • Follow-Ups:
    • Re: Custom Audio Units on the iPhone
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: AudioToolbox framework docs?
  • Next by Date: reading from the iPhone mic with a small buffer size
  • Previous by thread: Re: iPhone framework conflict causes crash
  • Next by thread: Re: Custom Audio Units on the iPhone
  • Index(es):
    • Date
    • Thread