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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user