• 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
kAudioUnitProperty_Latency property changes and Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kAudioUnitProperty_Latency property changes and Logic


  • Subject: kAudioUnitProperty_Latency property changes and Logic
  • From: Howard Moon <email@hidden>
  • Date: Tue, 31 May 2016 13:56:11 -0700

Our software allows users to change the latency associated with the Audio Unit plug-in, but it seems that Logic is ignoring this change. I have looked all over, and found others reporting this problem a few years ago, but I don’t see a resolution anywhere. Here is the code we’re using:

AudioUnitEvent auEvent;
auEvent.mArgument.mProperty.mAudioUnit = GetComponentInstance ();
auEvent.mArgument.mProperty.mPropertyID = kAudioUnitProperty_Latency;
auEvent.mArgument.mProperty.mScope = kAudioUnitScope_Global;
auEvent.mArgument.mProperty.mElement = 0;
auEvent.mEventType = kAudioUnitEvent_PropertyChange;
AUEventListenerNotify (paramListenerRef, NULL, &auEvent);

I did find one thread that said they got it working, but it didn’t elaborate as to exactly *how* they accomplished it other than a very general statement:

Finally found it. So, you need to manage list of property listeners, and whenever this happens ask all property listeners. Ugly, but I spent some time looking into the horrible CoreAudio SDK and that's how they do it...


I’m just not sure exactly how that would be accomplished.

Does anyone know how to get this to work in Logic (and any other hosts that seem to ignore the AUEventListenerNotify() call above)? Got a code snippet?

Thanks,
-Howard


 _______________________________________________
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: kAudioUnitProperty_Latency property changes and Logic
      • From: Brian Willoughby <email@hidden>
    • Re: kAudioUnitProperty_Latency property changes and Logic
      • From: Paul Davis <email@hidden>
  • Prev by Date: Re: Time constraint real-time threads
  • Next by Date: Re: kAudioUnitProperty_Latency property changes and Logic
  • Previous by thread: Re: Time constraint real-time threads
  • Next by thread: Re: kAudioUnitProperty_Latency property changes and Logic
  • Index(es):
    • Date
    • Thread