Class AVAudioSinkNode

  • All Implemented Interfaces:
    NSObject

    public class AVAudioSinkNode
    extends AVAudioNode
    AVAudioSinkNode AVAudioSinkNode wraps a client provided block to receive input audio on the audio IO thread. AVAudioSinkNode is restricted to be used in the input chain and does not support format conversion. Hence when connecting to an AVAudioSinkNode node, the format for the connection should be the output scope format of the input node (essentialy the format should match the input hardware sample rate). The voice processing IO unit is an exception to the above as it supports sample rate conversion. The input scope format (HW format) and output scope format (client format) of the input node can differ in that case. This node is only supported when the engine is rendering to the audio device and not in manual rendering mode. AVAudioSinkNode does not have an output bus and therefore it does not support tapping.
    • Constructor Detail

      • AVAudioSinkNode

        protected AVAudioSinkNode​(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()
      • initWithReceiverBlock

        public AVAudioSinkNode initWithReceiverBlock​(AVAudioSinkNode.Block_initWithReceiverBlock block)
        initWithReceiverBlock: Create a node with a receiver block. The receiver block is called when the input data is available. The block will be called on the realtime thread and it is the client's responsibility to handle it in a thread-safe manner and to not make any blocking calls. The audio format for the input bus will be set from the connection format when connecting to another node. The audio format for the data received by the block will be set to the node's input format.
        Parameters:
        block - The block that receives audio data from the input.
      • 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)
      • superclass_static

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

        public static long version_static()