Class AVAudioCompressedBuffer

    • Constructor Detail

      • AVAudioCompressedBuffer

        protected AVAudioCompressedBuffer​(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)
      • superclass_static

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

        public static long version_static()
      • data

        public org.moe.natj.general.ptr.VoidPtr data()
        [@property] data Access the buffer's data bytes.
      • initWithFormatPacketCapacity

        public AVAudioCompressedBuffer initWithFormatPacketCapacity​(AVAudioFormat format,
                                                                    int packetCapacity)
        initWithFormat:packetCapacity: Initialize a buffer that is to contain constant bytes per packet compressed audio data. This fails if the format is PCM or if the format has variable bytes per packet (format.streamDescription->mBytesPerPacket == 0).
        Parameters:
        format - The format of the audio to be contained in the buffer.
        packetCapacity - The capacity of the buffer in packets.
      • initWithFormatPacketCapacityMaximumPacketSize

        public AVAudioCompressedBuffer initWithFormatPacketCapacityMaximumPacketSize​(AVAudioFormat format,
                                                                                     int packetCapacity,
                                                                                     long maximumPacketSize)
        initWithFormat:packetCapacity:maximumPacketSize: Initialize a buffer that is to contain compressed audio data. An exception is raised if the format is PCM.
        Parameters:
        format - The format of the audio to be contained in the buffer.
        packetCapacity - The capacity of the buffer in packets.
        maximumPacketSize - The maximum size in bytes of a compressed packet. The maximum packet size can be obtained from the maximumOutputPacketSize property of an AVAudioConverter configured for encoding this format.
      • maximumPacketSize

        public long maximumPacketSize()
        [@property] maximumPacketSize The maximum size of a compressed packet in bytes.
      • packetCapacity

        public int packetCapacity()
        [@property] packetCapacity The number of compressed packets the buffer can contain.
      • packetCount

        public int packetCount()
        [@property] packetCount The current number of compressed packets in the buffer. You may modify the packetCount as part of an operation that modifies its contents. The packetCount must be less than or equal to the packetCapacity.
      • packetDescriptions

        public AudioStreamPacketDescription packetDescriptions()
        [@property] packetDescriptions Access the buffer's array of packet descriptions, if any. If the format has constant bytes per packet (format.streamDescription->mBytesPerPacket != 0), then this will return nil.
      • setPacketCount

        public void setPacketCount​(int value)
        [@property] packetCount The current number of compressed packets in the buffer. You may modify the packetCount as part of an operation that modifies its contents. The packetCount must be less than or equal to the packetCapacity.
      • byteCapacity

        public int byteCapacity()
        [@property] byteCapacity The buffer's capacity in bytes
      • byteLength

        public int byteLength()
        [@property] byteLength The current number of valid bytes in the buffer. Can be changed as part of an operation that modifies the contents.
      • setByteLength

        public void setByteLength​(int value)
        [@property] byteLength The current number of valid bytes in the buffer. Can be changed as part of an operation that modifies the contents.