• 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: AURenderCallback inputs...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AURenderCallback inputs...


  • Subject: Re: AURenderCallback inputs...
  • From: William Stewart <email@hidden>
  • Date: Thu, 11 Aug 2005 12:06:21 -0700

You can't do it this way.

What you could do is have your render callback attached to the effect node. Then in your render callback, you call the AUHAL's Render call on bus 1, get the audio input, do you processing, etc, then return from the callback.

Bill

On 10/08/2005, at 11:42 PM, Amir Aharon wrote:

My renderer call back is attached to the processing Node.
I'm trying to "trap" the buffer stream in the processing node and apply
my process efect on it.


Amir.


----------------------------------- Amir Aharon Software Developer Waves Ltd.


-----Original Message-----
From: William Stewart [mailto:email@hidden]
Sent: Wednesday, August 10, 2005 8:38 PM
To: Amir Aharon
Cc: email@hidden
Subject: Re: AURenderCallback inputs...



  An AU's input can be one of two types:
(1) An input callback - so it gets input by calling a render
callback
function
(2) A connection to another AU - so it gets its input calling
AudioUnitRender on the connected AU

So, given this topology:
AUHAL Input -> processing node -> AUHAL Output

what is it that you are trying to achieve with your render
callback -
and where is it attached too?

Bill

On 10/08/2005, at 8:38 AM, Amir Aharon wrote:


Hi,
I have created an AUGraph with two node , first is the

ioNode which is

my io device and second which is my audioNode for processing.

I would like to connect the input device into the AudioUnit

, do some

processing and send it into the device output.

Accourding to the API( I Hope) , all I need to do is to connect the
ioNode bus 1 into audioNode bus 0 and audioNode bus 0 into ioNode
bus 0.
( I use the same Audio device as input and output).

I'm tring to set the AURenderCallback(... AudioBufferList
*ioData...) of
the audioNode and my question is:
Does the ioData parameter is input/output? meaning Does it

contain the

sound buffer which I can process apon?
Or does ioData is empty and I should fill it with sound?

Thanks,
Amir.

-----------------------------------
Amir Aharon
Software Developer
Waves Ltd.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:


40apple.com


This email sent to email@hidden



-- mailto:email@hidden tel: +1 408 974 4056 ______________________________________________________________ __________ __ "Much human ingenuity has gone into finding the ultimate Before. The current state of knowledge can be summarized thus: In the beginning, there was nothing, which exploded" - Terry Pratchett ______________________________________________________________ __________ __





--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: AURenderCallback inputs...
      • From: "Amir Aharon" <email@hidden>
References: 
 >RE: AURenderCallback inputs... (From: "Amir Aharon" <email@hidden>)

  • Prev by Date: Using FuzzMeasure for AudioUnit Testing
  • Next by Date: Re: Fragile code in AUBase.h (diff provided)
  • Previous by thread: RE: AURenderCallback inputs...
  • Next by thread: RE: AURenderCallback inputs...
  • Index(es):
    • Date
    • Thread