init lastChunk with now

This commit is contained in:
badaix 2016-11-09 19:45:26 +01:00
parent 280cd10231
commit e875555d3c

View file

@ -198,7 +198,7 @@ void AlsaPlayer::worker()
{ {
snd_pcm_sframes_t pcm; snd_pcm_sframes_t pcm;
snd_pcm_sframes_t framesDelay; snd_pcm_sframes_t framesDelay;
long lastChunkTick = 0; long lastChunkTick = chronos::getTickCount();
while (active_) while (active_)
{ {