diff options
author | Max Kellermann <max@duempel.org> | 2014-08-28 13:04:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-28 13:08:44 +0200 |
commit | f02998b106a73281356d69cc7b19d069aea8cf0d (patch) | |
tree | e6a574eb9c6cf1fbe91bb92ce6261ec863b77737 /src/decoder/DecoderControl.cxx | |
parent | 127fe6ecf001a7bfb7f9a1d704d22c5a866896a5 (diff) | |
download | mpd-f02998b106a73281356d69cc7b19d069aea8cf0d.tar.gz mpd-f02998b106a73281356d69cc7b19d069aea8cf0d.tar.xz mpd-f02998b106a73281356d69cc7b19d069aea8cf0d.zip |
DecoderControl: use std::chrono::duration for start_ms and end_ms
Diffstat (limited to 'src/decoder/DecoderControl.cxx')
-rw-r--r-- | src/decoder/DecoderControl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |