Class AVAudioConverterInputStatus


  • public final class AVAudioConverterInputStatus
    extends java.lang.Object
    [@enum] AVAudioConverterInputStatus You must return one of these codes from your AVAudioConverterInputBlock.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long EndOfStream
      If you are at the end of stream, set *ioNumberOfPackets = 0 and return AVAudioConverterInputStatus_EndOfStream.
      static long HaveData
      This is the normal case where you supply data to the converter.
      static long NoDataNow
      If you are out of data for now, set *ioNumberOfPackets = 0 and return AVAudioConverterInputStatus_NoDataNow; the conversion routine will return as much output as could be converted with the input already supplied.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • HaveData

        public static final long HaveData
        This is the normal case where you supply data to the converter.
        See Also:
        Constant Field Values
      • NoDataNow

        public static final long NoDataNow
        If you are out of data for now, set *ioNumberOfPackets = 0 and return AVAudioConverterInputStatus_NoDataNow; the conversion routine will return as much output as could be converted with the input already supplied.
        See Also:
        Constant Field Values
      • EndOfStream

        public static final long EndOfStream
        If you are at the end of stream, set *ioNumberOfPackets = 0 and return AVAudioConverterInputStatus_EndOfStream.
        See Also:
        Constant Field Values