From f02998b106a73281356d69cc7b19d069aea8cf0d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2014 13:04:45 +0200 Subject: DecoderControl: use std::chrono::duration for start_ms and end_ms --- src/decoder/DecoderControl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/decoder/DecoderControl.cxx') diff --git a/src/decoder/DecoderControl.cxx b/src/decoder/DecoderControl.cxx index c4892a659..c30da6214 100644 --- a/src/decoder/DecoderControl.cxx +++ b/src/decoder/DecoderControl.cxx @@ -70,7 +70,7 @@ DecoderControl::IsCurrentSong(const DetachedSong &_song) const void DecoderControl::Start(DetachedSong *_song, - unsigned _start_ms, unsigned _end_ms, + SongTime _start_time, SongTime _end_time, MusicBuffer &_buffer, MusicPipe &_pipe) { assert(_song != nullptr); @@ -78,8 +78,8 @@ DecoderControl::Start(DetachedSong *_song, delete song; song = _song; - start_ms = _start_ms; - end_ms = _end_ms; + start_time = _start_time; + end_time = _end_time; buffer = &_buffer; pipe = &_pipe; -- cgit v1.2.3