• 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
Re: Directly Calling Render On An Audio Unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Directly Calling Render On An Audio Unit


  • Subject: Re: Directly Calling Render On An Audio Unit
  • From: Christopher Ashworth <email@hidden>
  • Date: Fri, 6 Apr 2007 22:53:22 -0400

On Apr 6, 2007, at 9:59 PM, email@hidden wrote:

I have a simple AUGraph (composed of a generator AU I wrote, and a couple
of processing AUs) which is functioning to provide audio data to the
default output AU.


Now, what I'd like to do, in order to provide audio data to another
system altogether, is to directly call the Render() method of my last AU
in the chain
before the output unit, or perhaps on the AUGraph itself.


I know I can get the AudioUnit I'd like to target for the Render() call
from the AUNode of the graph. Where from here?

Hi Xi,

You should just be able to use AudioUnitRender on the unit:

ComponentResult AudioUnitRender(
   AudioUnit                     theUnit,
   AudioUnitRenderActionFlags*   ioActionFlags,
   const AudioTimeStamp*         inTimeStamp,
   UInt32                        inOutputBusNumber,
   UInt32                        inNumberFrames,
   AudioBufferList*              ioData
)

Hope that helps,
Chris
_______________________________________________
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: Directly Calling Render On An Audio Unit
      • From: email@hidden
References: 
 >Directly Calling Render On An Audio Unit (From: email@hidden)

  • Prev by Date: Directly Calling Render On An Audio Unit
  • Next by Date: Re: Directly Calling Render On An Audio Unit
  • Previous by thread: Directly Calling Render On An Audio Unit
  • Next by thread: Re: Directly Calling Render On An Audio Unit
  • Index(es):
    • Date
    • Thread