Package apple.avfaudio.enums
Class AVAudioConverterInputStatus
- java.lang.Object
-
- apple.avfaudio.enums.AVAudioConverterInputStatus
-
public final class AVAudioConverterInputStatus extends java.lang.Object[@enum] AVAudioConverterInputStatus You must return one of these codes from your AVAudioConverterInputBlock. API-Since: 9.0
-
-
Field Summary
Fields Modifier and Type Field Description static longEndOfStreamIf you are at the end of stream, set *ioNumberOfPackets = 0 and return AVAudioConverterInputStatus_EndOfStream.static longHaveDataThis is the normal case where you supply data to the converter.static longNoDataNowIf you are out of data for now, set *ioNumberOfPackets = 0 and return AVAudioConverterInputStatus_NoDataNow; it is possible that some of the supplied input data may not be converted to output immediately, but instead may be converted to output only if/when more input is provided or the end-of-stream is indicated with the AVAudioConverterInputStatus_EndOfStream status code.
-
-
-
Field Detail
-
HaveData
public static final long HaveData
This is the normal case where you supply data to the converter. API-Since: 9.0- 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; it is possible that some of the supplied input data may not be converted to output immediately, but instead may be converted to output only if/when more input is provided or the end-of-stream is indicated with the AVAudioConverterInputStatus_EndOfStream status code. API-Since: 9.0- 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. API-Since: 9.0- See Also:
- Constant Field Values
-
-