kAudioFileStreamProperty_ByteToPacket
Obtains the packet number corresponding to a byte number. Pass an AudioBytePacketTranslation structure with the mByte field filled in, and values are returned in the mPacket and mByteOffsetInPacket fields. If the mPacket value is an estimate, then the kBytePacketTranslationFlag_IsEstimate value will be set in the mFlags field.
Declaration
var kAudioFileStreamProperty_ByteToPacket: AudioFileStreamPropertyID { get }See Also
Constants
kAudioFileStreamProperty_ReadyToProducePacketskAudioFileStreamProperty_FileFormatkAudioFileStreamProperty_DataFormatkAudioFileStreamProperty_FormatListkAudioFileStreamProperty_MagicCookieDatakAudioFileStreamProperty_AudioDataByteCountkAudioFileStreamProperty_AudioDataPacketCountkAudioFileStreamProperty_MaximumPacketSizekAudioFileStreamProperty_DataOffsetkAudioFileStreamProperty_ChannelLayoutkAudioFileStreamProperty_PacketToFramekAudioFileStreamProperty_FrameToPacketkAudioFileStreamProperty_PacketToBytekAudioFileStreamProperty_PacketTableInfokAudioFileStreamProperty_PacketSizeUpperBound