Class AVAudioUnit

    • Constructor Detail

      • AVAudioUnit

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

      • AUAudioUnit

        @NotNull
        public @NotNull AUAudioUnit AUAudioUnit()
        [@property] AUAudioUnit An AUAudioUnit wrapping or underlying the implementation's AudioUnit. This provides an AUAudioUnit which either wraps or underlies the implementation's AudioUnit, depending on how that audio unit is packaged. Applications can interact with this AUAudioUnit to control custom properties, select presets, change parameters, etc. As with the audioUnit property, no operations that may conflict with state maintained by the engine should be performed directly on the audio unit. These include changing initialization state, stream formats, channel layouts or connections to other audio units. API-Since: 9.0
        Overrides:
        AUAudioUnit in class AVAudioNode
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static AVAudioUnit allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • audioComponentDescription

        public AudioComponentDescription audioComponentDescription()
        [@property] audioComponentDescription AudioComponentDescription of the underlying audio unit.
      • audioUnit

        @NotNull
        public @NotNull AudioComponentInstance audioUnit()
        [@property] audioUnit Reference to the underlying audio unit. A reference to the underlying audio unit is provided so that parameters that are not exposed by AVAudioUnit subclasses can be modified using the AudioUnit C API. No operations that may conflict with state maintained by the engine should be performed directly on the audio unit. These include changing initialization state, stream formats, channel layouts or connections to other audio units.
      • 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)
      • instantiateWithComponentDescriptionOptionsCompletionHandler

        public static void instantiateWithComponentDescriptionOptionsCompletionHandler​(AudioComponentDescription audioComponentDescription,
                                                                                       int options,
                                                                                       @NotNull
                                                                                       @NotNull AVAudioUnit.Block_instantiateWithComponentDescriptionOptionsCompletionHandler completionHandler)
        instantiateWithComponentDescription:options:completionHandler: Asynchronously create an instance of an audio unit component, wrapped in an AVAudioUnit. Components whose flags include kAudioComponentFlag_RequiresAsyncInstantiation must be instantiated asynchronously, via this method if they are to be used with AVAudioEngine. See the discussion of this flag in AudioToolbox/AudioComponent.h. The returned AVAudioUnit instance normally will be of a subclass (AVAudioUnitEffect, AVAudioUnitGenerator, AVAudioUnitMIDIInstrument, or AVAudioUnitTimeEffect), selected according to the component's type. API-Since: 9.0
        Parameters:
        audioComponentDescription - The component to instantiate.
        options - Instantiation options.
        completionHandler - Called in an arbitrary thread/queue context when instantiation is complete. The client should retain the provided AVAudioUnit.
      • 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)
      • loadAudioUnitPresetAtURLError

        public boolean loadAudioUnitPresetAtURLError​(@NotNull
                                                     @NotNull NSURL url,
                                                     @Nullable
                                                     @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
        loadAudioUnitPresetAtURL:error: Load an audio unit preset. If the .aupreset file cannot be successfully loaded, an error is returned.
        Parameters:
        url - NSURL of the .aupreset file.
        outError - A pointer to a NSError object
      • manufacturerName

        @NotNull
        public @NotNull java.lang.String manufacturerName()
        [@property] manufacturerName Manufacturer name of the audio unit.
      • name

        @NotNull
        public @NotNull java.lang.String name()
        [@property] name Name of the audio unit.
      • 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

        public long version()
        [@property] version Version number of the audio unit.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.