Package apple.audiotoolbox
Class AUParameterNode
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.audiotoolbox.AUParameterNode
-
- All Implemented Interfaces:
NSObject
- Direct Known Subclasses:
AUParameter,AUParameterGroup
public class AUParameterNode extends NSObject
AUParameterNode A node in an audio unit's tree of parameters. Nodes are instances of either AUParameterGroup or AUParameter. API-Since: 9.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAUParameterNode(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static AUParameterNodealloc()static AUParameterNodeallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@NotNull java.lang.StringdisplayName()[@property] displayName A localized name to display for the parameter.@NotNull java.lang.StringdisplayNameWithLength(long maximumLength)displayNameWithLength: A version of displayName possibly abbreviated to the given desired length, in characters.static longhash_static()@NotNull java.lang.Stringidentifier()[@property] identifier A non-localized, permanent name for a parameter or group.@NotNull AUParameterNode.Block_implementorDisplayNameWithLengthCallback_retimplementorDisplayNameWithLengthCallback()Called to obtain an abbreviated version of a parameter or group name.@NotNull AUParameterNode.Block_implementorStringFromValueCallback_retimplementorStringFromValueCallback()Called to provide string representations of parameter values.@NotNull AUParameterNode.Block_implementorValueFromStringCallback_retimplementorValueFromStringCallback()Called to convert string to numeric representations of parameter values.@NotNull AUParameterNode.Block_implementorValueObserver_retimplementorValueObserver()Called when a parameter changes value.@NotNull AUParameterNode.Block_implementorValueProvider_retimplementorValueProvider()Called when a value of a parameter in the tree is known to have a stale value needing to be refreshed.AUParameterNodeinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)@NotNull java.lang.StringkeyPath()[@property] keyPath Generated by concatenating the identifiers of a node's parents with its own.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static AUParameterNodenew_objc()voidremoveParameterObserver(@NotNull org.moe.natj.general.ptr.VoidPtr token)removeParameterObserver: Remove an observer created with tokenByAddingParameterObserver, tokenByAddingParameterRecordingObserver, or tokenByAddingParameterAutomationObserver.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetImplementorDisplayNameWithLengthCallback(@NotNull AUParameterNode.Block_setImplementorDisplayNameWithLengthCallback value)Called to obtain an abbreviated version of a parameter or group name.voidsetImplementorStringFromValueCallback(@NotNull AUParameterNode.Block_setImplementorStringFromValueCallback value)Called to provide string representations of parameter values.voidsetImplementorValueFromStringCallback(@NotNull AUParameterNode.Block_setImplementorValueFromStringCallback value)Called to convert string to numeric representations of parameter values.voidsetImplementorValueObserver(@NotNull AUParameterNode.Block_setImplementorValueObserver value)Called when a parameter changes value.voidsetImplementorValueProvider(@NotNull AUParameterNode.Block_setImplementorValueProvider value)Called when a value of a parameter in the tree is known to have a stale value needing to be refreshed.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()@NotNull org.moe.natj.general.ptr.VoidPtrtokenByAddingParameterAutomationObserver(@NotNull AUParameterNode.Block_tokenByAddingParameterAutomationObserver observer)tokenByAddingParameterAutomationObserver: Add a recording observer for a parameter or all parameters in a group/tree.@NotNull org.moe.natj.general.ptr.VoidPtrtokenByAddingParameterObserver(@NotNull AUParameterNode.Block_tokenByAddingParameterObserver observer)tokenByAddingParameterObserver: Add an observer for a parameter or all parameters in a group/tree.@NotNull org.moe.natj.general.ptr.VoidPtrtokenByAddingParameterRecordingObserver(@NotNull AUParameterNode.Block_tokenByAddingParameterRecordingObserver observer)tokenByAddingParameterRecordingObserver: Add a recording observer for a parameter or all parameters in a group/tree.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static AUParameterNode alloc()
-
allocWithZone
public static AUParameterNode allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static AUParameterNode new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
displayName
@NotNull public @NotNull java.lang.String displayName()
[@property] displayName A localized name to display for the parameter.
-
displayNameWithLength
@NotNull public @NotNull java.lang.String displayNameWithLength(long maximumLength)
displayNameWithLength: A version of displayName possibly abbreviated to the given desired length, in characters. The default implementation simply returns displayName.
-
identifier
@NotNull public @NotNull java.lang.String identifier()
[@property] identifier A non-localized, permanent name for a parameter or group. The identifier must be unique for all child nodes under any given parent. From release to release, an audio unit must not change its parameters' identifiers; this will invalidate any hosts' documents that refer to the parameters.
-
implementorDisplayNameWithLengthCallback
@NotNull public @NotNull AUParameterNode.Block_implementorDisplayNameWithLengthCallback_ret implementorDisplayNameWithLengthCallback()
Called to obtain an abbreviated version of a parameter or group name.
-
implementorStringFromValueCallback
@NotNull public @NotNull AUParameterNode.Block_implementorStringFromValueCallback_ret implementorStringFromValueCallback()
Called to provide string representations of parameter values. If value is nil, the callback uses the current value of the parameter.
-
implementorValueFromStringCallback
@NotNull public @NotNull AUParameterNode.Block_implementorValueFromStringCallback_ret implementorValueFromStringCallback()
Called to convert string to numeric representations of parameter values.
-
implementorValueObserver
@NotNull public @NotNull AUParameterNode.Block_implementorValueObserver_ret implementorValueObserver()
Called when a parameter changes value. This block, used only in an audio unit implementation, receives all externally-generated changes to parameter values. It should store the new value in its audio signal processing state (assuming that that state is separate from the AUParameter object).
-
implementorValueProvider
@NotNull public @NotNull AUParameterNode.Block_implementorValueProvider_ret implementorValueProvider()
Called when a value of a parameter in the tree is known to have a stale value needing to be refreshed. The audio unit should return the current value for this parameter; the AUParameterNode will store the value.
-
init
public AUParameterNode init()
-
keyPath
@NotNull public @NotNull java.lang.String keyPath()
[@property] keyPath Generated by concatenating the identifiers of a node's parents with its own. Unless an audio unit specifically documents that its parameter addresses are stable and persistent, hosts, when recording parameter values, should bind to the keyPath. The individual node identifiers in a key path are separated by periods. (".") Passing a node's keyPath to -[tree valueForKeyPath:] should return the same node.
-
removeParameterObserver
public void removeParameterObserver(@NotNull @NotNull org.moe.natj.general.ptr.VoidPtr token)removeParameterObserver: Remove an observer created with tokenByAddingParameterObserver, tokenByAddingParameterRecordingObserver, or tokenByAddingParameterAutomationObserver. This call will remove the callback corresponding to the supplied token. Note that this will block until any callbacks currently in flight have completed.
-
setImplementorDisplayNameWithLengthCallback
public void setImplementorDisplayNameWithLengthCallback(@NotNull @NotNull AUParameterNode.Block_setImplementorDisplayNameWithLengthCallback value)Called to obtain an abbreviated version of a parameter or group name.
-
setImplementorStringFromValueCallback
public void setImplementorStringFromValueCallback(@NotNull @NotNull AUParameterNode.Block_setImplementorStringFromValueCallback value)Called to provide string representations of parameter values. If value is nil, the callback uses the current value of the parameter.
-
setImplementorValueFromStringCallback
public void setImplementorValueFromStringCallback(@NotNull @NotNull AUParameterNode.Block_setImplementorValueFromStringCallback value)Called to convert string to numeric representations of parameter values.
-
setImplementorValueObserver
public void setImplementorValueObserver(@NotNull @NotNull AUParameterNode.Block_setImplementorValueObserver value)Called when a parameter changes value. This block, used only in an audio unit implementation, receives all externally-generated changes to parameter values. It should store the new value in its audio signal processing state (assuming that that state is separate from the AUParameter object).
-
setImplementorValueProvider
public void setImplementorValueProvider(@NotNull @NotNull AUParameterNode.Block_setImplementorValueProvider value)Called when a value of a parameter in the tree is known to have a stale value needing to be refreshed. The audio unit should return the current value for this parameter; the AUParameterNode will store the value.
-
tokenByAddingParameterAutomationObserver
@NotNull public @NotNull org.moe.natj.general.ptr.VoidPtr tokenByAddingParameterAutomationObserver(@NotNull @NotNull AUParameterNode.Block_tokenByAddingParameterAutomationObserver observer)tokenByAddingParameterAutomationObserver: Add a recording observer for a parameter or all parameters in a group/tree. An audio unit host can use an AUParameterAutomationObserver or AUParameterRecordingObserver to capture a series of changes to a parameter value, including the timing of the events, as generated by a UI gesture in a view, for example. Unlike AUParameterObserver, these callbacks are not throttled. This block is called in an arbitrary thread context. It is responsible for thread-safety. It must not make any calls to add or remove other observers, including itself; this will deadlock. An audio unit's engine should interact with the parameter object via implementorValueObserver and implementorValueProvider.- Parameters:
observer- A block to call to record the changing of a parameter value.- Returns:
- A token which can be passed to removeParameterObserver: or to -[AUParameter setValue:originator:] API-Since: 10.0
-
tokenByAddingParameterObserver
@NotNull public @NotNull org.moe.natj.general.ptr.VoidPtr tokenByAddingParameterObserver(@NotNull @NotNull AUParameterNode.Block_tokenByAddingParameterObserver observer)tokenByAddingParameterObserver: Add an observer for a parameter or all parameters in a group/tree. An audio unit view can use an AUParameterObserver to be notified of changes to a single parameter, or to all parameters in a group/tree. These callbacks are throttled so as to limit the rate of redundant notifications in the case of frequent changes to a single parameter. This block is called in an arbitrary thread context. It is responsible for thread-safety. It must not make any calls to add or remove other observers, including itself; this will deadlock. An audio unit's implementation should interact with the parameter object via implementorValueObserver and implementorValueProvider. Parameter observers are bound to a specific parameter instance. If this parameter is destroyed, e.g. if the parameter tree is re-constructed, the previously set parameter observers will no longer be valid. Clients can observe changes to the parameter tree via KVO. See the discussion of -[AUAudioUnit parameterTree].- Parameters:
observer- A block to call after the value of a parameter has changed.- Returns:
- A token which can be passed to removeParameterObserver: or to -[AUParameter setValue:originator:]
-
tokenByAddingParameterRecordingObserver
@NotNull public @NotNull org.moe.natj.general.ptr.VoidPtr tokenByAddingParameterRecordingObserver(@NotNull @NotNull AUParameterNode.Block_tokenByAddingParameterRecordingObserver observer)tokenByAddingParameterRecordingObserver: Add a recording observer for a parameter or all parameters in a group/tree. This is a variant of tokenByAddingParameterAutomationObserver where the callback receives AURecordedParameterEvents instead of AUParameterAutomationEvents. This will be deprecated in favor of tokenByAddingParameterAutomationObserver in a future release.
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-