player/Control: convert to class

This commit is contained in:
Max Kellermann
2018-09-21 18:00:23 +02:00
parent e5d1ac0bd0
commit e3142312bb
7 changed files with 37 additions and 14 deletions

View File

@@ -261,12 +261,8 @@ private:
bool SeekDecoder() noexcept;
void CancelPendingSeek() noexcept {
if (!pc.seeking)
return;
pending_seek = SongTime::zero();
pc.seeking = false;
pc.ClientSignal();
pc.CancelPendingSeek();
}
/**