Show total time relative to current track

This commit is contained in:
deagahelio
2021-04-15 19:26:57 -03:00
parent cd3b8d8cfc
commit 76304d8ff8

View File

@@ -83,8 +83,8 @@ namespace RedBookPlayer
{ {
currentIndex = value; currentIndex = value;
Console.WriteLine("thing set");
SectionStartSector = (ulong)Image.Tracks[CurrentTrack].Indexes[CurrentIndex]; SectionStartSector = (ulong)Image.Tracks[CurrentTrack].Indexes[CurrentIndex];
TotalTime = Image.Tracks[CurrentTrack].TrackEndSector - Image.Tracks[CurrentTrack].TrackStartSector;
} }
} }
private ulong currentSector = 0; private ulong currentSector = 0;