Re: short question about ScheduledAudioFileRegion struct
Re: short question about ScheduledAudioFileRegion struct
- Subject: Re: short question about ScheduledAudioFileRegion struct
- From: tahome izwah <email@hidden>
- Date: Fri, 4 Dec 2009 13:31:07 +0100
>From AudioUnitProperties.h:
typedef void (*ScheduledAudioFileRegionCompletionProc)(void *userData,
ScheduledAudioFileRegion *fileRegion, OSStatus result);
HTH
--th
2009/12/4 Fredrik Jansson <email@hidden>:
>
> struct ScheduledAudioFileRegion {
> AudioTimeStamp mTimeStamp;
> ScheduledAudioFileRegionCompletionProc mCompletionProc;
> void *mCompletionProcUserData;
> struct OpaqueAudioFileID *mAudioFile;
> UInt32 mLoopCount;
> SInt64 mStartFrame;
> UInt32 mFramesToPlay;
> };
> Is mCompletionProc a pointer to a function to receive callbacks when the fileplayer AU finishes rendering the scheduled region ? if so is it a c style function pointer or a c++ style method pointer ?If not how would you register a callback when the fileplayer AU finishes renderinga scheduled region ?If there is any documentation on the fileplayerAU other than PlayFile.cpp i have failed to find it. If there is documentation on this topic i would find it helpful if you could point me in the right direction.
>
_______________________________________________
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