Skip to main content

Module playback

Module playback 

Source

Structs§

Config
PlayerState
Data structure used to store playback state on the disc and in the RAM at runtime.
PlayerVolume
Player volume.

Enums§

Event
LoopState
Specifies how the player loops playback.
PlaybackState
Playback state of the player.
Queue
QueueSource
ShuffleState
Shuffle state of the player.
SignedDuration
Signed duration type used for seeking.

Functions§

append_to_queue
cycle_loop_state
open_uri
Opens a URI that can either be a track, a directory with tracks, or an M3U8 playlist file.
pause
play
Play the current track or a track at a specified index in the queue.
play_new_queue
Set a new queue and play a track at a specific index in that queue.
remove_from_queue
seek
set_loop_state
set_player_position
set_player_volume
set_queue
Set the queue to a list of track.
set_shuffle_state
skip_next
skip_previous
stop
toggle_playing
toggle_shuffle_state