Re: FrameSize and Packet Size
Re: FrameSize and Packet Size
- Subject: Re: FrameSize and Packet Size
- From: William Stewart <email@hidden>
- Date: Mon, 14 Jun 2010 13:07:19 -0700
pkub (kAudioFilePropertyPacketSizeUpperBound) is the maximum size in bytes of a given packet in the file (it is an estimate, so may be conservative)
frames per packet is how many Linear PCM sample frames are represented in each encoded packet.
So, these are two different things
Bill
On Jun 14, 2010, at 4:39 AM, Abhinav Tyagi wrote:
> I am opening an mp3 audio file. On debugging the AudioFileGetProperty returns.
>
> 'pkub' returns 530
> while ASBD gives 576 frames per packet.
>
>
> What does that means... packet's upperbound is less than the no. of
> frames per packet. How can 'pkub' be less than framesPerPacket??
>
> Thanks
>
> Abhinav
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden