Re: Nonsensical values from kAudioFilePropertyBitRate
Re: Nonsensical values from kAudioFilePropertyBitRate
- Subject: Re: Nonsensical values from kAudioFilePropertyBitRate
- From: Jens Alfke <email@hidden>
- Date: Mon, 31 Mar 2008 10:14:23 -0700
On 22 Mar '08, at 4:58 PM, I wrote:
kAudioFilePropertyBitRate is returning nonsensical values for some
files.
For most, but not all, AAC files (encoded by iTunes) it returns
numbers like 63992, 63989, 96003. Each file gets different results,
but they're repeatable for that file.
I dug into this some more. The problem here is actually that the units
are inconsistent between codecs. AAC and AIFF files return the bit-
rate in bps, but MP3 files use kbps, so they're off by a factor of 1000.
I just tried to file this using the Apple Bug Reporter, but it looks
like the server ate it — after I submitted the report it sent me back
to the login page, and the bug didn't get filed. :-P
Is this already known?
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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