• 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: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?


  • Subject: Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?
  • From: Christopher Liscio <email@hidden>
  • Date: Fri, 3 Dec 2010 10:05:36 -0500

Paul,

On Dec 3, 2010, at 9:50 AM, Paul Davis wrote:
> i'm not certain, but i think you're making a basic error asking for a
> data packet count from a non-compressed format like WAV, AIFF or CAF.
> the whole concept doesn't exist for uncompressed PCM, really.

According to Doug Wyatt, this is almost identical to what afinfo uses to determine the duration of any file format:

http://lists.apple.com/archives/coreaudio-api/2005/Jul/msg00163.html

The afinfo source is no longer distributed with the SDK, sadly, so I can't dig up the actual source code at the moment to guarantee this.

Cheers,

Chris Liscio
http://supermegaultragroovy.com
Learn _your_ music with Capo: http://capoapp.com

 _______________________________________________
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: 
 >kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)? (From: Christopher Liscio <email@hidden>)
 >Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)? (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?
  • Next by Date: Re: no sound on Power PC G4
  • Previous by thread: Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?
  • Next by thread: Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?
  • Index(es):
    • Date
    • Thread