• 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: AudioFileStream not returning PacketSizeUpperBound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioFileStream not returning PacketSizeUpperBound


  • Subject: Re: AudioFileStream not returning PacketSizeUpperBound
  • From: William Stewart <email@hidden>
  • Date: Mon, 18 Feb 2008 14:15:34 -0800

Sorry, my bad:

@constant kAudioConverterPropertyMaximumInputPacketSize
a UInt32 that indicates the size in bytes of the largest single packet of
data in the input format. This is mostly useful for variable bit rate
compressed data (decoders).
@constant kAudioConverterPropertyMaximumOutputPacketSize
a UInt32 that indicates the size in bytes of the largest single packet of
data in the output format. This is mostly useful for variable bit rate
compressed data (encoders).



They are converter properties, not format ones. You can pass these through the AudioQueue API as well (it goes and asks the underlying converter for you)


Bill

On Feb 15, 2008, at 10:09 PM, Jens Alfke wrote:


On 15 Feb '08, at 7:02 PM, William Stewart wrote:

For what you need to know, the AudioFormat API is in any case the right place to get this information. It has an upper bound packet size property for any given format.

I looked through <AudioToolbox/AudioFormat.h>, but I don't see any property that explicitly returns packet sizes. There are FormatIsVBR and FormatIsExternallyFramed properties, but those just return booleans. Which property do you have in mind?


—Jens

_______________________________________________ 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: 
 >AudioFileStream not returning PacketSizeUpperBound (From: Jens Alfke <email@hidden>)
 >Re: AudioFileStream not returning PacketSizeUpperBound (From: William Stewart <email@hidden>)
 >Re: AudioFileStream not returning PacketSizeUpperBound (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: rookie cocoa AU question
  • Next by Date: Re: FilterDemo + Logic
  • Previous by thread: Re: AudioFileStream not returning PacketSizeUpperBound
  • Next by thread: FilterDemo + Logic
  • Index(es):
    • Date
    • Thread