• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: short question about ScheduledAudioFileRegion struct
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >short question about ScheduledAudioFileRegion struct (From: Fredrik Jansson <email@hidden>)

  • Prev by Date: Re: Inconsistencies with large WAV file
  • Next by Date: Re: Inconsistencies with large WAV file
  • Previous by thread: short question about ScheduledAudioFileRegion struct
  • Next by thread: Calculating duration of an AIF file
  • Index(es):
    • Date
    • Thread