AEBlockScheduler.h File Reference
#import <Foundation/Foundation.h>
#import "AEAudioController.h"

Go to the source code of this file.

Classes

class  AEBlockScheduler
 Block scheduler. More...
 

Typedefs

typedef void(^ AEBlockSchedulerBlock )(const AudioTimeStamp *intervalStartTime, UInt32 offsetInFrames)
 Scheduler block format.
 
typedef void(^ AEBlockSchedulerResponseBlock )()
 Scheduler response block.
 

Variables

NSString const * AEBlockSchedulerKeyBlock
 Schedule information dictionary keys.
 
NSString const * AEBlockSchedulerKeyTimestampInHostTicks
 
NSString const * AEBlockSchedulerKeyResponseBlock
 
NSString const * AEBlockSchedulerKeyIdentifier
 
NSString const * AEBlockSchedulerKeyTimingContext
 

Typedef Documentation

typedef void(^ AEBlockSchedulerBlock)(const AudioTimeStamp *intervalStartTime, UInt32 offsetInFrames)

Scheduler block format.

Will be executed in a Core Audio thread context, so it's very important not to call any Objective-C methods, allocate or free memory, or hold locks.

Parameters
intervalStartTimeThe timestamp corresponding to the start of this time interval
offsetInFramesThe offset, in frames, of this schedule's fire timestamp into the current time interval
typedef void(^ AEBlockSchedulerResponseBlock)()

Scheduler response block.

Will be called on the main thread

Variable Documentation

NSString const* AEBlockSchedulerKeyBlock

Schedule information dictionary keys.

NSString const* AEBlockSchedulerKeyTimestampInHostTicks
NSString const* AEBlockSchedulerKeyResponseBlock
NSString const* AEBlockSchedulerKeyIdentifier
NSString const* AEBlockSchedulerKeyTimingContext