• 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: getting generator audio unit output in render callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting generator audio unit output in render callback


  • Subject: Re: getting generator audio unit output in render callback
  • From: Rich E <email@hidden>
  • Date: Sun, 12 May 2013 14:52:51 -0400

Thanks for the response, it has motivated me to attempt to make this work again..

On Thu, May 9, 2013 at 8:09 PM, Douglas Scott <email@hidden> wrote:
Why are you not calling AUGraphConnectNodeInput() to connect your speech node to your output node?


If I do:

AUGRAPH_CHECK( AUGraphSetNodeInputCallback ( _graph, outputNode, 0, &callback ) );
AUGRAPH_CHECK( AUGraphConnectNodeInput( _graph, speechNode, 0, outputNode, 0 ) );

I am presented with kAUGraphErr_InvalidConnection from AUGraphConnectNodeInput - to me this makes sense because I've already informed the graph I will provide input to outputNode via my callback.

Attempting the following:

AU_CHECK( AudioUnitSetProperty( _outputUnit, kAudioUnitProperty_SetRenderCallback, kAudioUnitScope_Input, 0, &callback, sizeof(callback)) );
AUGRAPH_CHECK( AUGraphConnectNodeInput( _graph, speechNode, 0, outputNode, 0 ) );

will not produce an error, but my callback is not fired.  What seems to be missing to me is a method like AUGraphConnectRenderCallback... is this incorrect?

 _______________________________________________
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

References: 
 >Re: getting generator audio unit output in render callback (From: Rich E <email@hidden>)

  • Prev by Date: Re: Multiroute Audio Problem
  • Next by Date: Re: getting generator audio unit output in render callback
  • Previous by thread: Re: getting generator audio unit output in render callback
  • Next by thread: Recovering MPEG-4 and/or lossless audio files
  • Index(es):
    • Date
    • Thread