Packagecom.noteflight.standingwave2.elements
Interfacepublic interface IRandomAccessSource
Implementors CacheFilter, ResamplingFilter, Sample, SoundSource

An IRandomAccessSource is an interface implemented by IAudioSources that expose the ability to extract any desired subrange at will, given its starting and ending index.



Public Methods
 MethodDefined By
  
getSampleRange(fromOffset:Number, toOffset:Number):Sample
Return a Sample representing a concrete subrange of this source.
IRandomAccessSource
Method Detail
getSampleRange()method
public function getSampleRange(fromOffset:Number, toOffset:Number):Sample

Return a Sample representing a concrete subrange of this source.

Parameters

fromOffset:Number — the starting point of the range (inclusive)
 
toOffset:Number — the endpoint of the range (exclusive)

Returns
Sample