• 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: does logic 8 handle parametername changes ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: does logic 8 handle parametername changes ?


  • Subject: Re: does logic 8 handle parametername changes ?
  • From: William Stewart <email@hidden>
  • Date: Mon, 19 May 2008 12:20:03 -0700

In the audio unit hosting apps you can see what the host (your view in this case) is doing:

			// now that we've potentially changed the values of the parameter we
			// should notify any listeners of this change:
		AudioUnitParameter changedUnit;
		changedUnit.mAudioUnit = mTargetUnit;
		changedUnit.mParameterID = kAUParameterListener_AnyParameter;
		AUParameterListenerNotify (NULL, NULL, &changedUnit);

What this does is send a notification out that any of the parameters for this audio unit could have changed. This is the only notification you need to send. It is the responsibility of the VIEW or whichever code that is running (typically the host app does this). Your audio unit should not be doing anything. So, you do not need to make these PropertyChanged calls in your audio unit. If you take these out, you will see that with the generic view in AULab the preset changes work just fine. (Open up two generic view on your audio unit and set a preset in one of them)

Bill

On May 18, 2008, at 6:47 AM, Robert Fehse wrote:


What i do when a user changes a presets (which changes param names) from my
gui is this:


PropertyChanged (kAudioUnitProperty_ParameterList,kAudioUnitScope_Global,stat
ic_cast<AudioUnitElement>(-1));
PropertyChanged (kAudioUnitProperty_PresentPreset,kAudioUnitScope_Global,0);


This works in AULab and Live.

Robert

_______________________________________________
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

_______________________________________________ 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: 
 >Built-in audio hardware question (From: "tahome izwah" <email@hidden>)
 >does logic 8 handle parametername changes ? (From: "Robert Fehse" <email@hidden>)

  • Prev by Date: Re: Built-in audio hardware question
  • Next by Date: Re: Built-in audio hardware question
  • Previous by thread: does logic 8 handle parametername changes ?
  • Next by thread: Re: Built-in audio hardware question
  • Index(es):
    • Date
    • Thread