Re: Inconsistencies with large WAV file
Re: Inconsistencies with large WAV file
- Subject: Re: Inconsistencies with large WAV file
- From: tahome izwah <email@hidden>
- Date: Tue, 1 Dec 2009 10:28:14 +0100
Unfortunately that returns an insanely big number
(18446744073648879063) which is nowhere near the expected value
(368404342).
ExtAudioFileTell() suffers from the same inconsistency wrt. API
conventions, btw.
Thanks for the suggestion though!
--th
2009/12/1 Brian Willoughby <email@hidden>:
> It actually seems rather strange to me that
> kExtAudioFileProperty_FileLengthFrames is defined as SInt64 when there are
> so many UInt32 properties. I would think that it is impossible for a file
> to have negative length, and thus I would have expected UInt64 instead. I'm
> curious whether you get the right value if you use UInt64, although clearly
> that is at odds with the documentation. I also wonder whether QuickTime and
> the ExtAudioFile internals are using UInt64. But I have no way to answer
> your questions - I merely agree that this is a confusing API.
>
> Brian Willoughby
> Sound Consulting
_______________________________________________
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