mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Fix unit conversion.
This commit is contained in:
parent
3cd6bc165f
commit
2af4a125fb
@ -514,7 +514,7 @@ void PlaybackService::OnTrackChanged(size_t pos, TrackPtr track) {
|
||||
this->MarkTrackAsPlayed(track->GetId());
|
||||
}
|
||||
else {
|
||||
const int64_t delay = (int64_t)(duration * 0.25f);
|
||||
const int64_t delay = (int64_t)(duration * 0.25f) * 1000LL;
|
||||
POST_DELAYED(this, MESSAGE_MARK_TRACK_PLAYED, track->GetId(), 0, delay);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user