TB2026-YDS Firmware
Loading...
Searching...
No Matches
player_status_t Struct Reference

Snapshot of the transport for the UI. More...

#include <player.h>

Data Fields

player_state_t state
playlist_track_t track
uint32_t elapsed_ms
uint32_t total_ms
bool track_unsupported

Detailed Description

Snapshot of the transport for the UI.

Field Documentation

◆ elapsed_ms

uint32_t player_status_t::elapsed_ms

Playback position in ms (0 when stopped).

◆ state

player_state_t player_status_t::state

Current transport state.

◆ total_ms

uint32_t player_status_t::total_ms

Track duration in ms; 0 if unknown or stopped.

◆ track

playlist_track_t player_status_t::track

Current track; valid only when state is not STOPPED.

◆ track_unsupported

bool player_status_t::track_unsupported

The last playback stopped because the active output refused the track's format (e.g. non-44.1 kHz over Bluetooth). Cleared by the next play/stop action.


The documentation for this struct was generated from the following file: