JsAudioPlayer
Attributes
- Graph
- Supertypes
- trait LowLevelAudioPlayertrait Simple[Settings]trait LowLevelSubsystem[Settings]trait AutoCloseabletrait AudioPlayerclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Checks if this player still has data to be played.
Checks if this player still has data to be played.
Attributes
- Returns:
true of the player is still playing, false otherwise
Checks if a channel still has data to be played.
Checks if a channel still has data to be played.
Attributes
- channel
channel to check
- Returns:
true of the channel is still playing, false otherwise
Enqueues an audio clip to be played later in a certain channel.
Enqueues an audio clip to be played later in a certain channel.
Attributes
- channel
channel where to play the audio clip
- clip
audio clip to play
Stops playback and removes all enqueued waves.
Stops playback and removes all enqueued waves.
Attributes
Stops playback and removes all enqueued waves in a certain channel.
Stops playback and removes all enqueued waves in a certain channel.
Attributes
- channel
channel to stop
Configures the subsystem according to the settings and returns the applied settings.
Configures the subsystem according to the settings and returns the applied settings.
This method assumes that the subsystem is initialized.
Attributes
Unsafe implementation of the subsystem destroy.
Unsafe implementation of the subsystem destroy.
Attributes
Unsafe implementation of the subsystem init.
Unsafe implementation of the subsystem init.
Attributes
Inherited methods
Composes this subsystem with another subsystem
Composes this subsystem with another subsystem
Attributes
- Inherited from:
- LowLevelSubsystem
Changes the settings of the subsystem.
Changes the settings of the subsystem.
Attributes
- newSettings
new settings to apply
- Inherited from:
- Simple
Destroys the subsystem.
Destroys the subsystem.
Calling any operation on this object after calling close() without calling init() has an undefined behavior.
Attributes
- Inherited from:
- Simple
Creates the subsystem.
Creates the subsystem.
Operations can only be called after calling this.
Attributes
- settings
settings used to configure the subsystem
- Returns:
this subsystem
- Inherited from:
- Simple
Checks if the subsystem is created or if it has been destroyed.
Checks if the subsystem is created or if it has been destroyed.
Attributes
- Inherited from:
- Simple
Enqueues an audio wave to be played later in a certain channel. The Audio Wave will play infinitely until stop() is called.
Enqueues an audio wave to be played later in a certain channel. The Audio Wave will play infinitely until stop() is called.
Attributes
- channel
channel where to play the audio wave
- wave
audio wave to play
- Inherited from:
- AudioPlayer
Enqueues an audio wave to be played later in channel 0. The Audio Wave will play infinitely until stop() is called.
Enqueues an audio wave to be played later in channel 0. The Audio Wave will play infinitely until stop() is called.
Attributes
- wave
audio wave to play
- Inherited from:
- AudioPlayer
Enqueues an audio clip to be played later in channel 0.
Enqueues an audio clip to be played later in channel 0.
Attributes
- clip
audio clip to play
- Inherited from:
- AudioPlayer
Returns the current settings.
Returns the current settings.
Attributes
- Inherited from:
- Simple
Inherited fields
Attributes
- Inherited from:
- Simple