| Package | artcustomer.maxima.engine.sounds |
| Class | public class ChannelFactory |
| Inheritance | ChannelFactory Object |
| Implements | IDestroyable |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| ChannelFactory | ||
addChannel(completeCallback:Function):SingleChannel
Add new channel at highest index. | ChannelFactory | ||
applyMasterVolume(masterVolume:Number):void
Update all channels volume with master volume. | ChannelFactory | ||
clearPool():void
Clear pool. | ChannelFactory | ||
destroy():void
Destructor. | ChannelFactory | ||
disposeChannel(index:int):Boolean
Remove channel at index. | ChannelFactory | ||
getChannel(index:int):SingleChannel
Get channel at index. | ChannelFactory | ||
[static]
Instantiate ChannelFactory. | ChannelFactory | ||
hasChannel(index:int):Boolean
Test channel at index. | ChannelFactory | ||
| ChannelFactory | () | Constructor |
public function ChannelFactory()Constructor
| addChannel | () | method |
public function addChannel(completeCallback:Function):SingleChannelAdd new channel at highest index.
Parameters
completeCallback:Function |
SingleChannel —
|
| applyMasterVolume | () | method |
public function applyMasterVolume(masterVolume:Number):voidUpdate all channels volume with master volume.
Parameters
masterVolume:Number |
| clearPool | () | method |
public function clearPool():voidClear pool.
| destroy | () | method |
public function destroy():voidDestructor.
| disposeChannel | () | method |
public function disposeChannel(index:int):BooleanRemove channel at index.
Parameters
index:int |
Boolean —
|
| getChannel | () | method |
public function getChannel(index:int):SingleChannelGet channel at index.
Parameters
index:int |
SingleChannel —
|
| getInstance | () | method |
public static function getInstance():ChannelFactoryInstantiate ChannelFactory.
ReturnsChannelFactory |
| hasChannel | () | method |
public function hasChannel(index:int):BooleanTest channel at index.
Parameters
index:int |
Boolean —
|