Packagecom.whirled.contrib.sound
Classpublic class SoundBytesDataSource
ImplementsDataSource

This class will take sounds from a SoundFactory and supply the decompressed wave bytes in ByteArray form as a DataSource. This class requires Flash 10.



Protected Properties
 PropertyDefined by
  _factory : SoundFactory
SoundBytesDataSource
Public Methods
 MethodDefined by
  
SoundBytesDataSource
  
getObject(name:String):Object
SoundBytesDataSource
Protected Constants
 ConstantDefined by
  SAMPLES_PER_LOOP : int = 8192
[static]
SoundBytesDataSource
Property detail
_factoryproperty
protected var _factory:SoundFactory
Constructor detail
SoundBytesDataSource()constructor
public function SoundBytesDataSource(factory:SoundFactory)Parameters
factory:SoundFactory
Method detail
getObject()method
public function getObject(name:String):ObjectParameters
name:String

Returns
Object
Constant detail
SAMPLES_PER_LOOPconstant
protected static const SAMPLES_PER_LOOP:int = 8192