#import <AMCue.h>
Public Member Functions | |
(id) | - init |
Creates a new cue object. | |
(void) | - addChunk: |
Adds a chunk to the cue. | |
(void) | - removeChunkAtIndex: |
Removes the chunk at the given index from the cue. | |
(NSArray *) | - getChunks |
Returns the internal array of chunks. | |
(NSArray *) | - getInstances |
Returns the internal array of instances. | |
(NSMutableArray **) | - getFMODChannelGroups |
Returns the internal array pointer of FMOD channel groups. | |
(AMCueInstance *) | - getCueInstanceWithParentUID: |
Returns the internal cue instance corresponding to the given parent UID. | |
Protected Attributes | |
UID | uid |
NSMutableArray * | instances |
NSMutableDictionary * | controls |
NSMutableArray * | chunks |
NSMutableArray * | channelGroups |
Properties | |
AMTime * | dur |
The duration of the cue. | |
AMTime * | quantize |
The quantization value of the cue. | |
int | loopCount |
Number of times the cue will loop and play the content of its audio source. | |
int | priority |
The priority of the cue, between 0 and 100. | |
AMRetriggerType | restartOnRetrigger |
Defines the behavior of the cue when a start request is trigerred while it is already playing. | |
BOOL | stream |
Defines how the audio elements of the cue will use the memory. |
It is a container for one or more audio chunks.
- (void) addChunk: | (AMChunk *) | _chunk |
- (NSArray *) getChunks |
Returns the internal array of chunks.
FOR INTERNAL USAGE ONLY.
- (AMCueInstance *) getCueInstanceWithParentUID: | (UID) | _parentUID |
Returns the internal cue instance corresponding to the given parent UID.
FOR INTERNAL USAGE ONLY.
- (NSMutableArray **) getFMODChannelGroups |
Returns the internal array pointer of FMOD channel groups.
FOR INTERNAL USAGE ONLY.
- (NSArray *) getInstances |
Returns the internal array of instances.
FOR INTERNAL USAGE ONLY.
- (id) init |
Creates a new cue object.
- (void) removeChunkAtIndex: | (int) | _idx |
Removes the chunk at the given index from the cue.
The function is ignored if the index is invalid.
idx | The index of the chunk object to remove. |
- (int) loopCount [read, write, assign] |
Number of times the cue will loop and play the content of its audio source.
If set to -1, the cue will repeat indefinitely.
- (BOOL) stream [read, write, assign] |
Defines how the audio elements of the cue will use the memory.
Note that streaming activation will also limit the cue to 1 instance at a time.