Class AUParameter

    • Constructor Detail

      • AUParameter

        protected AUParameter​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static AUParameter 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()
      • 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)
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • address

        public long address()
        The parameter's address.
      • dependentParameters

        @Nullable
        public @Nullable NSArray<? extends NSNumber> dependentParameters()
        Parameters whose values may change as a side effect of this parameter's value changing. Each array value is an NSNumber representing AUParameterAddress.
      • flags

        public int flags()
        Various details of the parameter.
      • maxValue

        public float maxValue()
        The parameter's maximum value.
      • minValue

        public float minValue()
        The parameter's minimum value.
      • setValue

        public void setValue​(float value)
        The parameter's current value.
      • setValueOriginator

        public void setValueOriginator​(float value,
                                       @Nullable
                                       @Nullable org.moe.natj.general.ptr.VoidPtr originator)
        Set the parameter's value, avoiding redundant notifications to the originator. Bridged to the v2 function AudioUnitSetParameter.
      • setValueOriginatorAtHostTime

        public void setValueOriginatorAtHostTime​(float value,
                                                 @Nullable
                                                 @Nullable org.moe.natj.general.ptr.VoidPtr originator,
                                                 long hostTime)
        Convenience for setValue:originator:atHostTime:eventType: Bridged to the v2 function AudioUnitSetParameter.
      • setValueOriginatorAtHostTimeEventType

        public void setValueOriginatorAtHostTimeEventType​(float value,
                                                          @Nullable
                                                          @Nullable org.moe.natj.general.ptr.VoidPtr originator,
                                                          long hostTime,
                                                          int eventType)
        Set the parameter's value, preserving the host time of the gesture that initiated the change, and associating an event type such as touch/release. In general, this method should only be called from a user interface. It initiates a change to a parameter in a way that captures the gesture such that it can be recorded later -- any AUParameterAutomationObservers will receive the host time and event type associated with the parameter change. From an audio playback engine, a host should schedule automated parameter changes through AUAudioUnit's scheduleParameterBlock. Bridged to the v2 function AudioUnitSetParameter. API-Since: 10.0
      • stringFromValue

        @NotNull
        public @NotNull java.lang.String stringFromValue​(@Nullable
                                                         @Nullable org.moe.natj.general.ptr.ConstFloatPtr value)
        Get a textual representation of a value for the parameter. Use value==nil to use the current value. Bridged to the v2 property kAudioUnitProperty_ParameterStringFromValue. This is currently only supported for parameters whose flags include kAudioUnitParameterFlag_ValuesHaveStrings.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • unit

        public int unit()
        The parameter's unit of measurement.
      • unitName

        @Nullable
        public @Nullable java.lang.String unitName()
        A localized name for the parameter's unit. Supplied by the AU if kAudioUnitParameterUnit_CustomUnit; else by the framework.
      • value

        public float value()
        The parameter's current value.
      • valueFromString

        public float valueFromString​(@NotNull
                                     @NotNull java.lang.String string)
        Convert a textual representation of a value to a numeric one. This is currently only supported for parameters whose flags include kAudioUnitParameterFlag_ValuesHaveStrings.
      • valueStrings

        @Nullable
        public @Nullable NSArray<java.lang.String> valueStrings()
        For parameters with kAudioUnitParameterUnit_Indexed, localized strings corresponding to the values.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.