Class AVAudioUnitComponentManager

  • All Implemented Interfaces:
    NSObject

    public class AVAudioUnitComponentManager
    extends NSObject
    AVAudioUnitComponentManager A singleton object that provides an easy way to find audio components that are registered with the system. AVAudioUnitComponentManager provides methods to search and query various information about the audio components without opening them. Currently audio components that are audio units can only be searched. The class also supports predefined system tags and arbitrary user tags. Each audio unit can be tagged as part of its definition. Refer to AudioComponent.h for more details. AudioUnit Hosts such as Logic or GarageBand can present groupings of audio units based on the tags. Searching for audio units can be done in various ways - using a NSPredicate that contains search strings for tags or descriptions - using a block to match on custom criteria - using an AudioComponentDescription
    • Constructor Detail

      • AVAudioUnitComponentManager

        protected AVAudioUnitComponentManager​(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)
      • 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)
      • sharedAudioUnitComponentManager

        public static java.lang.Object sharedAudioUnitComponentManager()
        returns singleton instance of AVAudioUnitComponentManager
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • componentsMatchingDescription

        public NSArray<? extends AVAudioUnitComponent> componentsMatchingDescription​(AudioComponentDescription desc)
        componentsMatchingDescription: returns an array of AVAudioUnitComponent objects that match the description. This method provides a mechanism to search for AudioComponents using AudioComponentDescription structure. The type, subtype and manufacturer fields are used to search for audio units. A value of 0 for any of these fields is a wildcard and returns the first match found.
      • componentsMatchingPredicate

        public NSArray<? extends AVAudioUnitComponent> componentsMatchingPredicate​(NSPredicate predicate)
        componentsMatchingPredicate: returns an array of AVAudioUnitComponent objects that match the search predicate. AudioComponent's information or tags can be used to build a search criteria. For example, "typeName CONTAINS 'Effect'" or tags IN {'Sampler', 'MIDI'}"
      • componentsPassingTest

        public NSArray<? extends AVAudioUnitComponent> componentsPassingTest​(AVAudioUnitComponentManager.Block_componentsPassingTest testHandler)
        componentsPassingTest: returns an array of AVAudioUnitComponent objects that pass the user provided block method. For each AudioComponent found by the manager, the block method will be called. If the return value is YES then the AudioComponent is added to the resulting array else it will excluded. This gives more control to the block provider to filter out the components returned.
      • standardLocalizedTagNames

        public NSArray<java.lang.String> standardLocalizedTagNames()
        returns the localized standard system tags defined by the audio unit(s).
      • tagNames

        public NSArray<java.lang.String> tagNames()
        returns all tags associated with the current user as well as all system tags defined by the audio unit(s).