StreamingSource

Represents a source that emits audio, uses streaming

abstract
class StreamingSource : Source

Inherited Members

From Source

_location
Vec3 _location;
Undocumented in source.
sound
Sound sound;
Undocumented in source.
location
Vec3 location [@property getter]

The location of the source.

location
Vec3 location [@property setter]

The location of the source.

newSource
deprecated Source newSource(Vec3 location)

Create a new source. The backend class will automatically be determined.

setSound
void setSound(Sound sound)

Set the Sound that this Source plays.

_setSound
void _setSound(Sound sound)
Undocumented in source.
setLooping
void setLooping(bool loop)

Set if the Source should loop the Sound.

play
void play()

Plays the Sound that belongs to this Source.

pause
void pause()

Pause the Sound that is playing.

stop
void stop()

Stops playing the Sound.

hasFinishedPlaying
bool hasFinishedPlaying()
cleanup
void cleanup()

Cleans up the resources used by the Source.

_cleanup
void _cleanup()
Undocumented in source.

Meta