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