• 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: SetRenderCallback vs. SetInputCallback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetRenderCallback vs. SetInputCallback


  • Subject: Re: SetRenderCallback vs. SetInputCallback
  • From: Carlos Eduardo Mello <email@hidden>
  • Date: Fri, 16 Jul 2004 16:08:17 -0300

Does this mean that I should use kAudioOutputUnitProperty_SetInputCallback to register my callback to an AudioOutputUnit?

I read and (believe) I understood the information in the SDK about v1 and v2. That's why I used kAudioUnitProperty_SetRenderCallback in My AudioUnit. It worked and sounded right, so I thought I had it right. Now, The only CoreAudio stuff I am using is an AudioOutputUnit to send my sound to the default output. So in this case, can I use either property to set up my input callback?

On Thursday, July 15, 2004, at 11:27 PM, William Stewart wrote:

That's a different property:

kAudioOutputUnitProperty_SetInputCallback

notice this is kAudio***OUTPUT*** (my emphasis because of obscure
naming conventions we've used here ;-)

Not to be confused with (from AudioUnitProperties.h)
//kAudioUnitProperty_SetInputCallback = 7 -> deprecated - see
AUNTComponent.h

The following
kAudioUnitProperty_SetRenderCallback = 23,

Is used to provide input via a callback to a V2 audio unit (the only
ones we care about).

HTH

Bill
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: SetRenderCallback vs. SetInputCallback
      • From: Stephen Davis <email@hidden>
References: 
 >Re: SetRenderCallback vs. SetInputCallback (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Canonical format max amp limits?
  • Next by Date: Re: SetRenderCallback vs. SetInputCallback
  • Previous by thread: Re: SetRenderCallback vs. SetInputCallback
  • Next by thread: Re: SetRenderCallback vs. SetInputCallback
  • Index(es):
    • Date
    • Thread