• 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
limitation of AudioUnitAddRenderNotify?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

limitation of AudioUnitAddRenderNotify?


  • Subject: limitation of AudioUnitAddRenderNotify?
  • From: MF <email@hidden>
  • Date: Fri, 23 Jan 2009 23:47:49 +0100

Hello everybody,

I tried to set up render notification for the inputs of a stereo
mixer, its audio input comes from audio file player units, the
chaining looks like this:
audio file players -> mixer-> output unit

I would like to schedule volume events in the pre render notification
call. However, I always get an error message -2147450879 as I added
the render notification to stereo mixer unit.
AudioUnitAddRenderNotify (mixerUnit, AudioEngine::MyRenderNotification, 0)

I also tried it with the other units in my graph... such as output
unit and effect units. It only works with the audio file player units
( the others get -2147450879 error message...). Do I actually use
'AudioUnitAddRenderNotify' in a wrong way? such as I can only use it
in a specific thread, a specific kind of Audio unit, or do I have to
firstly set up a render call back function for the target unit? I
didn't set it for the stereo mixer because it's inputs are from the
scheduled region of the audio file players...

besides, the call back function for the file player unit seems to be
called constantly while I expected it to be only called before and
after the display of a scheduled audio region (pre and post
notifications)... is it an expected exception for audio file player?

any suggestion or comment would be greatly appreciated!
MF
 _______________________________________________
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: limitation of AudioUnitAddRenderNotify?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Few sample rate conversion questions
  • Next by Date: Re: limitation of AudioUnitAddRenderNotify?
  • Previous by thread: Re: Is AUVarispeed reentrant
  • Next by thread: Re: limitation of AudioUnitAddRenderNotify?
  • Index(es):
    • Date
    • Thread