Package | artcustomer.maxima.engine.sounds |
Class | public class ChannelFactory |
Inheritance | ChannelFactory ![]() |
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):SingleChannel
Add new channel at highest index.
Parameters
completeCallback:Function |
SingleChannel —
|
applyMasterVolume | () | method |
public function applyMasterVolume(masterVolume:Number):void
Update all channels volume with master volume.
Parameters
masterVolume:Number |
clearPool | () | method |
public function clearPool():void
Clear pool.
destroy | () | method |
public function destroy():void
Destructor.
disposeChannel | () | method |
public function disposeChannel(index:int):Boolean
Remove channel at index.
Parameters
index:int |
Boolean —
|
getChannel | () | method |
public function getChannel(index:int):SingleChannel
Get channel at index.
Parameters
index:int |
SingleChannel —
|
getInstance | () | method |
public static function getInstance():ChannelFactory
Instantiate ChannelFactory.
ReturnsChannelFactory |
hasChannel | () | method |
public function hasChannel(index:int):Boolean
Test channel at index.
Parameters
index:int |
Boolean —
|