DecoderControl: use std::chrono::duration for start_ms and end_ms

This commit is contained in:
Max Kellermann
2014-08-28 13:04:45 +02:00
parent 127fe6ecf0
commit f02998b106
5 changed files with 19 additions and 30 deletions

View File

@@ -296,7 +296,7 @@ Player::StartDecoder(MusicPipe &_pipe)
start_time += pc.seek_time;
dc.Start(new DetachedSong(*pc.next_song),
start_time.ToMS(), pc.next_song->GetEndTime().ToMS(),
start_time, pc.next_song->GetEndTime(),
buffer, _pipe);
}