Packagecom.noteflight.standingwave2.performance
Classpublic class QueuePerformance
InheritanceQueuePerformance Inheritance Object
Implements IPerformance

A QueuePerformance works forward through a queue of audio sources. The final element of the queue is repeated indefinitely. When more elements are added to a QueuePerformance, the new elements are played immediately following the last complete repeat of any currently playing element.



Public Properties
 PropertyDefined By
  descriptor : AudioDescriptor
[read-only]
QueuePerformance
  frameCount : Number
[read-only] The frame count of the entire Performance.
QueuePerformance
Public Methods
 MethodDefined By
  
QueuePerformance
  
addSource(source:IAudioSource):void
Add a new audio source to the queue of sources rendered by this queue.
QueuePerformance
  
QueuePerformance
  
getElementsInRange(start:Number, end:Number):Vector.<PerformanceElement>
Obtain a list of of PerformanceElements in this performance, ordered by starting frame index, whose starting frame lies in a given range.
QueuePerformance
Property Detail
descriptorproperty
descriptor:AudioDescriptor  [read-only]


Implementation
    public function get descriptor():AudioDescriptor
frameCountproperty 
frameCount:Number  [read-only]

The frame count of the entire Performance.


Implementation
    public function get frameCount():Number
Constructor Detail
QueuePerformance()Constructor
public function QueuePerformance()



Method Detail
addSource()method
public function addSource(source:IAudioSource):void

Add a new audio source to the queue of sources rendered by this queue.

Parameters

source:IAudioSource

clone()method 
public function clone():IPerformance

Returns
IPerformance
getElementsInRange()method 
public function getElementsInRange(start:Number, end:Number):Vector.<PerformanceElement>

Obtain a list of of PerformanceElements in this performance, ordered by starting frame index, whose starting frame lies in a given range.

Parameters

start:Number — frame count of range start (inclusive)
 
end:Number — frame count of the range end (exclusive)

Returns
Vector.<PerformanceElement>