kAudioFileStreamProperty_PacketToFrame
Obtains the frame number corresponding to a packet number.
Declaration
var kAudioFileStreamProperty_PacketToFrame: AudioFileStreamPropertyID { get }Discussion
Obtains the frame number corresponding to a packet number. Pass an AudioFramePacketTranslation structure with the mPacket field filled in, and a value in the mFrame field is returned on output. (The mFrameOffsetInPacket field of the AudioFramePacketTranslation structure is ignored.) 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_FrameToPacketkAudioFileStreamProperty_PacketToBytekAudioFileStreamProperty_ByteToPacketkAudioFileStreamProperty_PacketTableInfokAudioFileStreamProperty_PacketSizeUpperBound