Fix unit conversion.

This commit is contained in:
casey langen 2021-07-17 15:39:41 -07:00
parent 3cd6bc165f
commit 2af4a125fb

View File

@ -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);
}
}