Class: SoundEmitter
This page documents the methods and fields available in the SoundEmitter class.
Members
| Signature | Description |
|---|---|
SoundEmitter(SoundData) | Creates a new instance of SoundEmitter. |
SoundEmitter(float[], int) | Creates a new instance of SoundEmitter. |
getCurrentSecond() | Returns the current current second. |
getLeftVolume() | Returns the current left volume. |
getPitch() | Returns the current pitch. |
getRightVolume() | Returns the current right volume. |
getSpeed() | Returns the current speed. |
getTotalSeconds() | Returns the current total seconds. |
getVolume() | Returns the current volume. |
isLoop() | Returns whether loop is true. |
isPaused() | Returns whether paused is true. |
isPlaying() | Returns whether playing is true. |
isStopped() | Returns whether stopped is true. |
pause() | Performs the pause operation. |
play() | Performs the play operation. |
seekToSecond(float) | Performs the seekToSecond operation using the provided parameters (second). |
setLeftVolume(float) | Sets or updates the left volume. |
setLoop(boolean) | Sets or updates the loop. |
setPitch(float) | Sets or updates the pitch. |
setRightVolume(float) | Sets or updates the right volume. |
setSpeed(float) | Sets or updates the speed. |
setVolume(float) | Sets or updates the volume. |
setVolumes(float, float) | Sets or updates the volumes. |
setVolumes(float, float, float) | Sets or updates the volumes. |
stop() | Performs the stop operation. |