Re: Get number of frames for CAF LPCM for AudioFilePlayer unit
Re: Get number of frames for CAF LPCM for AudioFilePlayer unit
- Subject: Re: Get number of frames for CAF LPCM for AudioFilePlayer unit
- From: Tim Kemp <email@hidden>
- Date: Sun, 09 Dec 2012 08:04:37 -0500
Dave,
Sorry: I've been chopping and changing so the debug strings don't always get updated. I did find ExtAudioFileWrapAudioFileID(), but I *still* get zeros with that. I might be creating the file incorrectly (I am using ExtAudioFileWriteAsync & associated methods to create it.)
If that should work, I'll keep looking into it.
Thanks
On 9 Dec 2012, at 02:07, Dave Fernandes wrote:
> Oh, I assumed you had an ExtAudioFile from the error message. You can get and ExtAudioFile from an AudioFile using ExtAudioFileWrapAudioFileID().
>
>
> On 2012-12-08, at 10:46 PM, Tim Kemp <email@hidden> wrote:
>
>> Hi Dave,
>>
>> Hmm, doesn't appear to here: ExtAudioFileGetProperty expects an ExtAudioFileRef, whereas AudioFileGetProperty deals with AudioFileIDs which are different opaque types. Casting or ignoring crashes. Is there a way to convert between the types?
>>
>> Thanks
>
_______________________________________________
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