Refactor playback state and track end handling #175

Merged
eric merged 1 commit from push-nwnkskqklzzk into main 2026-11-01 01:55:53 +01:00
Owner

This commit refines the playback state machine, clarifying transitions from Transitioning to Stopped, restricting control point advancement rules, and introducing explicit handling for track endings and buffer metrics.

Key changes include:

  • Refining the DeviceAdapter logic to ensure playback state correctly transitions to Stopped upon track end.
  • Implementing gapless transition logic and restricting when queue advancement is permitted.
  • Adding detailed reporting metrics (buffered time, underruns) to the player core.
  • Introducing new API methods for reporting playback metrics via C functions.
This commit refines the playback state machine, clarifying transitions from Transitioning to Stopped, restricting control point advancement rules, and introducing explicit handling for track endings and buffer metrics. Key changes include: * Refining the `DeviceAdapter` logic to ensure playback state correctly transitions to Stopped upon track end. * Implementing gapless transition logic and restricting when queue advancement is permitted. * Adding detailed reporting metrics (buffered time, underruns) to the player core. * Introducing new API methods for reporting playback metrics via C functions.
Refactor playback state and track end handling
All checks were successful
Release / create-release (push) Successful in 13s
Release / apk (push) Successful in 5m14s
5fda7e578c
This commit refines the playback state machine, clarifying transitions from Transitioning to Stopped, restricting control point advancement rules, and introducing explicit handling for track endings and buffer metrics.

Key changes include:
*   Refining the `DeviceAdapter` logic to ensure playback state correctly transitions to Stopped upon track end.
*   Implementing gapless transition logic and restricting when queue advancement is permitted.
*   Adding detailed reporting metrics (buffered time, underruns) to the player core.
*   Introducing new API methods for reporting playback metrics via C functions.
eric merged commit f56a605169 into main 2026-11-01 01:55:53 +01:00
eric deleted branch push-nwnkskqklzzk 2026-11-01 01:56:00 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pmo/pmomusic!175
No description provided.