Update track progress in MusicService. Fix #127

This commit is contained in:
Riku Isokoski
2022-03-28 17:00:23 +03:00
parent f82aa71eb0
commit 34858d0a6c
4 changed files with 27 additions and 28 deletions

View File

@@ -47,7 +47,7 @@ namespace Pinetime {
std::string getAlbum() const;
int getProgress() const;
int getProgress();
int getTrackLength() const;
@@ -81,6 +81,7 @@ namespace Pinetime {
int trackLength {0};
int trackNumber {};
int tracksTotal {};
TickType_t trackProgressUpdateTime {0};
float playbackSpeed {1.0f};