• 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 16:10:38 -0400

On Thu, May 9, 2013 at 7:38 PM, Aran Mulholland <email@hidden> wrote:
This must be some configuration setup problem. I have had plenty of these kinds of issues, usually it is a stream format somewhere. Once the audio is running through that graph you can manipulate it using a callback.
To debug/fiddle/test try connecting another node between your speech unit and your output, like a mixer, then try attaching your render callback to that.



Agreed there is a configuration problem because it doesn't work. :)  But the reason why I don't think it is related to ASBD's is because I have the exact same audio unit configuration working when not using AUGraph.  While connecting a mixer or converter between the speech unit and output may work, I shouldn't need to, hence it is a limitation.

But maybe I can do something else with the AUGraph config, I am posting here to find out. To show the issue more clearly and hopefully allow others with experience to test for themselves, I made a reduced test app here:

https://github.com/reakinator/AUGraph-CallbackTesting

Running that as is will give you a speech synthesizer whose rendered samples are processed in a callback and then sent to the HAL output unit.  This is great, exactly what I'm trying to achieve, but it is directly using the Audio Unit Component Services API, no AUGraph.  To use the AUGraph API, uncomment the "#define USE_AUGRAPH" at the top of AppDelegate.m.  There is also notes in [AppDelegate createSynthGraph] about the various ways I have tried to configure the render callback.

Thank you for your time,
Rich
 _______________________________________________
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>)
 >Re: getting generator audio unit output in render callback (From: Aran Mulholland <email@hidden>)

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