Class AVAudioUnit

    • Constructor Detail

      • AVAudioUnit

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static 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,
                                                                                       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.
        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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object 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()
      • AUAudioUnit

        public 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.
        Overrides:
        AUAudioUnit in class AVAudioNode
      • audioComponentDescription

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

        public 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.
      • loadAudioUnitPresetAtURLError

        public boolean loadAudioUnitPresetAtURLError​(NSURL url,
                                                     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

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

        public java.lang.String name()
        [@property] name Name of the audio unit.
      • version

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