• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FrameSize and Packet Size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >FrameSize and Packet Size (From: Abhinav Tyagi <email@hidden>)

  • Prev by Date: Re: reg:audioplayer
  • Next by Date: Re: Identifying the beginning or end of a data file in an AU
  • Previous by thread: FrameSize and Packet Size
  • Next by thread: Re: Setting Magic Cookie Crashes Tiger
  • Index(es):
    • Date
    • Thread