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.
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
Concrete methods
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
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
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