• 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: 4th Post: HELP? Wrong format reported by AudioFileGetProperty()?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4th Post: HELP? Wrong format reported by AudioFileGetProperty()?!?


  • Subject: Re: 4th Post: HELP? Wrong format reported by AudioFileGetProperty()?!?
  • From: Stephen Davis <email@hidden>
  • Date: Thu, 14 Oct 2004 11:09:46 -0700

iTunes doesn't use the AudioFile API so it doesn't suffer from this problem. iTunes existed long before the AudioFile API was created and has to run on OS versions where the AudioFile API doesn't exist.

stephen

On Oct 13, 2004, at 10:27 AM, David M. Cotter wrote:

I still need to know how iTunes got it right, what is the workaround if I do not have Tiger?

On Oct 12, 2004, at 11:57 AM, Doug Wyatt wrote:

The Panther AudioFile API incorrectly reports your MP3's sample rate as 44100 and the Tiger one correctly reports it as 22050.

If you have the source PCM recording, you might try re-encoding it with iTunes; the two bugs I found/remembered involved [a] MPEG 2.5 MP3's (this doesn't appear to be one) and [b] ID3 tags at an unusual location in the file.

Doug

On Oct 12, 2004, at 1:07, David M. Cotter wrote:
see the previous-previous post by me for the pictures.

What i'm looking for is an explaination of either what I did wrong or what the workaround is. thanks.

On Oct 7, 2004, at 4:55 PM, David M. Cotter wrote:

The Actual format of the audio:  22kHz
The Reported format: 44kHz (via AudioFileGetProperty)

iTunes gets it right (reports the correct sample rate via get info), but AudioFileGetProperty() gets it wrong. What am I missing?

The audio file is available here:
http://www.tricerasoft.com/downloads/tsoftcdg.zip

My debugger: (it says 44kHz) my program plays the file like it's the Chipmunks.
<debug.gif>


iTunes:  this says 22kHz, it's correct!
<iTunes.gif>


_______________________________________________ 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: 
 >3rd Post: HELP? Wrong format reported by AudioFileGetProperty()?!? (From: "David M. Cotter" <email@hidden>)
 >Re: 3rd Post: HELP? Wrong format reported by AudioFileGetProperty()?!? (From: Doug Wyatt <email@hidden>)
 >4th Post: HELP? Wrong format reported by AudioFileGetProperty()?!? (From: "David M. Cotter" <email@hidden>)

  • Prev by Date: AUHAL deinterleaved data format - how to handle it
  • Next by Date: Re: AUHAL deinterleaved data format - how to handle it
  • Previous by thread: Re: 4th Post: HELP? Wrong format reported by AudioFileGetProperty()?!?
  • Next by thread: CocoaAUHost bug?
  • Index(es):
    • Date
    • Thread