kAudioFileStreamProperty_FrameToPacket
Obtains the packet number corresponding to a frame number.
Declaration
var kAudioFileStreamProperty_FrameToPacket: AudioFileStreamPropertyID { get }Discussion
Obtains the packet number corresponding to a frame number. Pass an AudioFramePacketTranslation structure with the mFrame field filled in, and values in the mPacket and mFrameOffsetInPacket fields are returned on output. For more information on the audio frame packet translation structure, see Audio File Services.
See Also
Constants
kAudioFileStreamProperty_ReadyToProducePacketskAudioFileStreamProperty_FileFormatkAudioFileStreamProperty_DataFormatkAudioFileStreamProperty_FormatListkAudioFileStreamProperty_MagicCookieDatakAudioFileStreamProperty_AudioDataByteCountkAudioFileStreamProperty_AudioDataPacketCountkAudioFileStreamProperty_MaximumPacketSizekAudioFileStreamProperty_DataOffsetkAudioFileStreamProperty_ChannelLayoutkAudioFileStreamProperty_PacketToFramekAudioFileStreamProperty_PacketToBytekAudioFileStreamProperty_ByteToPacketkAudioFileStreamProperty_PacketTableInfokAudioFileStreamProperty_PacketSizeUpperBound