• 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 not working in Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kAudioUnitProperty_Latency not working in Logic


  • Subject: kAudioUnitProperty_Latency not working in Logic
  • From: Vojtěch Meluzín <email@hidden>
  • Date: Thu, 07 Feb 2013 13:48:58 +0100

Hi, I'm using this code to notify the host about change of latency of a plugin:

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

Unfortunately it works only in a few hosts, excluding Logic as usual. What is wrong? It doesn't work if paramListenerRef is NULL nor if I create it like this:

AUListenerCreate (paramChangedListenerProc, plugin, CFRunLoopGetCurrent (), kCFRunLoopDefaultMode, 0.2, &plugin->paramListenerRef);

Thanks in advance,
Vojtech
 _______________________________________________
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 not working in Logic
      • From: Paul Davis <email@hidden>
  • Prev by Date: Recording from remoteIO on iOS
  • Next by Date: Re: kAudioUnitProperty_Latency not working in Logic
  • Previous by thread: Re: Recording from remoteIO on iOS
  • Next by thread: Re: kAudioUnitProperty_Latency not working in Logic
  • Index(es):
    • Date
    • Thread