Multi-channel mono audio player.
Can play and stop audio clips and audio waves on distinct channels.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait LowLevelAudioPlayer
Members list
Value members
Abstract 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.
Value parameters
- channel
-
channel to check
Attributes
- 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.
Value parameters
- channel
-
channel where to play the audio clip
- clip
-
audio clip to play
Attributes
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.
Value parameters
- channel
-
channel to stop
Attributes
Concrete methods
Enqueues an audio clip to be played later in channel 0.
Enqueues an audio clip to be played later in channel 0.
Value parameters
- clip
-
audio clip to play
Attributes
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.
Value parameters
- wave
-
audio wave to play
Attributes
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.
Value parameters
- channel
-
channel where to play the audio wave
- wave
-
audio wave to play