feat(player): passthrough state tracking + sync-layer position/passthrough getters

Includes the mpv passthrough rate-suspend wiring (passthrough cannot
scaletempo; suspended while rate != 1.0) that the new getters report.
This commit is contained in:
edde746
2026-06-11 09:16:01 +02:00
parent 38afdab2e4
commit e54bbd11f1
3 changed files with 55 additions and 6 deletions
+6
View File
@@ -31,6 +31,12 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
@override
PlayerState get state => _state;
@override
Duration get currentPosition => Duration(milliseconds: _positionMs);
@override
bool get audioPassthroughActive => false;
late final PlayerStreams _streams;
@override