SoundMixer
| Kind of class: | public class |
|---|---|
| Package: | com.bourre.media.sound |
| Inherits from: | none |
| Implements: |
|
| Version: | 1.0 |
| Author: | Aigret Axel |
| Classpath: | com.bourre.media.sound.SoundMixer |
| File last modified: | Monday, 24 November 2008, 11:36:46 |
Summary
Constructor
- SoundMixer (name:String = null)
- Constructs a new SoundMixer instance.
Instance properties
- DEBUG : Boolean
Instance methods
- getName : String
- isRegistered (id:String) : Boolean
- getRegisteredId : Array
- lock : void
- unlock : void
- isLock : Boolean
- addSound (sound:Sound, id:String, oSTI:SoundTransformInfo = null) : void
- addSounds (sound:Sound, aId:Array, aSTI:Array = null) : void
- removeSound (id:String) : void
- getSoundInfoWithState (sState:String = null) : Array
- playSoundLoop (id:String) : void
- playSound (id:String, loop:Number = 1, soundTransformInfo:SoundTransformInfo = null) : void
- stopSound (id:String) : void
- pauseSound (id:String) : void
- resumeSound (id:String) : void
- setSoundTransform (id:String, o:SoundTransformInfo) : void
- playAllSound (loop:uint = 0, soundTransformInfo:SoundTransformInfo = null) : void
- resumeAllSound : void
- pauseAllSound : void
- stopAllSound : void
- setSoundTransformAllSound (o:SoundTransformInfo) : void
- isPlaying (id:String) : Boolean
- isPause (id:String) : Boolean
- isStop (id:String) : Boolean
- getSoundInfo (id:String) : SoundInfo
- toString : String
- Returns the string representation of this instance.
- start : void
- Implements Suspendable
- stop : void
- reset : void
- run : void
- isRunning : Boolean
- release : void
Constructor
SoundMixer
public function SoundMixer (
name:String = null)
Constructs a new
SoundMixer instance. Parameters:
name:
(optionnal) The Sound Mixer name id , if present SoundMixer is register in the SoundMixerLocator
Instance properties
DEBUG
public DEBUG:Boolean = false
(read,write)
Instance methods
addSound
addSounds
public function addSounds (
sound:Sound,
aId:Array,
aSTI:Array = null) : void
getName
public function getName (
) : String
getRegisteredId
public function getRegisteredId (
) : Array
getSoundInfo
public function getSoundInfo (
id:String) : SoundInfo
getSoundInfoWithState
public function getSoundInfoWithState (
sState:String = null) : Array
isLock
public function isLock (
) : Boolean
isPause
public function isPause (
id:String) : Boolean
isPlaying
public function isPlaying (
id:String) : Boolean
isRegistered
public function isRegistered (
id:String) : Boolean
isRunning
public function isRunning (
) : Boolean
isStop
public function isStop (
id:String) : Boolean
lock
public function lock (
) : void
pauseAllSound
public function pauseAllSound (
) : void
pauseSound
public function pauseSound (
id:String) : void
playAllSound
playSound
public function playSound (
id:String,
loop:Number = 1,
soundTransformInfo:SoundTransformInfo = null) : void
playSoundLoop
public function playSoundLoop (
id:String) : void
release
public function release (
) : void
removeSound
public function removeSound (
id:String) : void
reset
public function reset (
) : void
resumeAllSound
public function resumeAllSound (
) : void
resumeSound
public function resumeSound (
id:String) : void
run
public function run (
) : void
setSoundTransform
setSoundTransformAllSound
start
public function start (
) : void
Implements Suspendable
stop
public function stop (
) : void
stopAllSound
public function stopAllSound (
) : void
stopSound
public function stopSound (
id:String) : void
toString
public function toString (
) : String
Returns the string representation of this instance.
unlock
public function unlock (
) : void