MusicChunk: use SignedSongTime for the time stamp

This commit is contained in:
Max Kellermann
2014-08-29 13:15:33 +02:00
parent 147d301f10
commit 9d3a85d434
5 changed files with 12 additions and 10 deletions

View File

@@ -499,7 +499,7 @@ Player::SendSilence()
partial frames */
unsigned num_frames = sizeof(chunk->data) / frame_size;
chunk->times = -1.0; /* undefined time stamp */
chunk->time = SignedSongTime::Negative(); /* undefined time stamp */
chunk->length = num_frames * frame_size;
memset(chunk->data, 0, chunk->length);