Re: AURender Call back function
Re: AURender Call back function
- Subject: Re: AURender Call back function
- From: Jens Alfke <email@hidden>
- Date: Thu, 26 Feb 2009 09:02:56 -0800
On Feb 25, 2009, at 8:41 PM, Gabriele Palmas wrote: Now I checked AudioFileOpen, ExtAudioFileOpen and ExtAudioFileCreateNew are part of the AudioTollBox Framework that is included in my app. Adding the framework to the project makes more of a difference at link time. At compile time, the headers need to have been #included. It looks like CAAudioFile.h does include <AudioToolbox/AudioToolbox.h>, so I'm not sure why it wouldn't pick up the AudioFile declarations. Unless there's something different about the header layout on iPhone.
UInt32 nFrames = inNumberFrames;
PullBuffer(nFrames, ioData); if (nFrames < inNumberFrames) { ....
Um, PullBuffer is a method, not a function. You have to call it through an instance of the class, i.e. myfile->PullBuffer. (Unless this snippet is part of a method in a class that subclasses CAAudioFile? In that case, we'd need to see more of the code.)
—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