| Package | com.sonoport |
| Interface | public interface IBaseSoundCore |
| Property | Defined By | ||
|---|---|---|---|
| gain : Number Gain. | IBaseSoundCore | ||
| pan : Number Left-to-right position of the sound, ranging from -1 (full pan left) to 1 (full pan right). | IBaseSoundCore | ||
| Method | Defined By | ||
|---|---|---|---|
play():void Start playing a sound. | IBaseSoundCore | ||
stop():void Stop the sound. | IBaseSoundCore | ||
| gain | property |
gain:NumberGain. Range is [0, 1].
public function get gain():Number public function set gain(value:Number):void| pan | property |
pan:NumberLeft-to-right position of the sound, ranging from -1 (full pan left) to 1 (full pan right).
public function get pan():Number public function set pan(value:Number):void| play | () | method |
public function play():voidStart playing a sound.
| stop | () | method |
public function stop():voidStop the sound.