Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PlayerThread: use SongTime for elapsed_time | Max Kellermann | 2014-08-29 | 5 | -17/+17 |
| | |||||
* | PlayerControl: use SignedSongTime for the song duration | Max Kellermann | 2014-08-29 | 3 | -14/+16 |
| | |||||
* | DecoderControl: use SignedSongTime for the song duration | Max Kellermann | 2014-08-29 | 3 | -4/+6 |
| | |||||
* | Tag: use SignedSongTime for the song duration | Max Kellermann | 2014-08-29 | 25 | -85/+104 |
| | |||||
* | Chrono: convert SongTime to SignedSongTime implicitly | Max Kellermann | 2014-08-29 | 1 | -0/+5 |
| | |||||
* | Chrono: add SignedSongTime::FromS(unsigned) | Max Kellermann | 2014-08-29 | 1 | -0/+4 |
| | |||||
* | Chrono: add methods ToS(), RoundS() | Max Kellermann | 2014-08-29 | 1 | -0/+16 |
| | |||||
* | Chrono: add method SignedSongTime::Negative() | Max Kellermann | 2014-08-29 | 1 | -0/+7 |
| | |||||
* | DecoderControl: use std::chrono::duration for start_ms and end_ms | Max Kellermann | 2014-08-28 | 5 | -30/+19 |
| | |||||
* | PlaylistEdit: pass std::chrono::duration to SetSongIdRange() | Max Kellermann | 2014-08-28 | 3 | -20/+20 |
| | |||||
* | db/simple/Song: use std::chrono::duration for start_ms and end_ms | Max Kellermann | 2014-08-28 | 3 | -10/+12 |
| | |||||
* | db/LightSong: use std::chrono::duration for start_ms and end_ms | Max Kellermann | 2014-08-28 | 7 | -24/+28 |
| | |||||
* | DetachedSong: use std::chrono::duration for start_ms and end_ms | Max Kellermann | 2014-08-28 | 12 | -51/+57 |
| | |||||
* | Chrono: override operator+ and operator- | Max Kellermann | 2014-08-28 | 1 | -14/+23 |
| | | | | | Make sure we return the correct type. This obsoletes the cast constructor trick. | ||||
* | DecoderControl: update API documentation | Max Kellermann | 2014-08-28 | 1 | -3/+3 |
| | |||||
* | Playlist: use std::chrono::duration for Seek*() | Max Kellermann | 2014-08-28 | 7 | -26/+62 |
| | |||||
* | Chrono: add class SignedSongTime | Max Kellermann | 2014-08-28 | 1 | -0/+64 |
| | |||||
* | Chrono: add methods IsZero(), IsPositive() | Max Kellermann | 2014-08-28 | 1 | -0/+8 |
| | |||||
* | PlayerControl: use std::chrono::duration for Seek() | Max Kellermann | 2014-08-27 | 4 | -14/+17 |
| | |||||
* | PlayerThread: check if total_time is valid before using it | Max Kellermann | 2014-08-27 | 1 | -1/+1 |
| | |||||
* | DecoderControl: use std::chrono::duration for Seek() | Max Kellermann | 2014-08-27 | 5 | -10/+10 |
| | |||||
* | Chrono: add implicit conversion operator from std::chrono::duration | Max Kellermann | 2014-08-27 | 1 | -0/+8 |
| | |||||
* | Chrono: add method ToDoubleS() | Max Kellermann | 2014-08-27 | 1 | -0/+4 |
| | |||||
* | Chrono: add template parameter to ToScale() | Max Kellermann | 2014-08-27 | 1 | -3/+3 |
| | |||||
* | DecoderAPI: use std::chrono::duration for decoder_seek*() | Max Kellermann | 2014-08-26 | 11 | -61/+110 |
| | | | | For type safety and code readability. | ||||
* | decoder/pcm: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+3 |
| | |||||
* | decoder/dsf: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -4/+4 |
| | |||||
* | decoder/dsdiff: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -11/+4 |
| | |||||
* | decoder/wildmidi: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+2 |
| | |||||
* | decoder/wavpack: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+1 |
| | |||||
* | decoder/vorbis: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+2 |
| | |||||
* | decoder/sndfile: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -12/+1 |
| | |||||
* | decoder/opus: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -4/+4 |
| | |||||
* | decoder/opus: remove redundant decoder_timestamp() call | Max Kellermann | 2014-08-26 | 1 | -5/+1 |
| | | | | | After seeking, the MPD core automatically refreshes the timestamp, and thus discards the value from decoder_timestamp(). | ||||
* | decoder/mpg123: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | decoder/mpcdec: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+2 |
| | |||||
* | decoder/flac: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+1 |
| | |||||
* | decoder/audiofile: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+1 |
| | |||||
* | DecoderAPI: add decoder_seek_where_frame() | Max Kellermann | 2014-08-26 | 3 | -0/+36 |
| | |||||
* | decoder/mp4v2: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -4/+7 |
| | |||||
* | decoder/ffmpeg: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -3/+3 |
| | |||||
* | decoder/gme: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+2 |
| | |||||
* | decoder/modplug: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -4/+1 |
| | |||||
* | decoder/mad: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -10/+9 |
| | | | | Avoid roundtrips to floating point. | ||||
* | DecoderAPI: add decoder_seek_where_ms() | Max Kellermann | 2014-08-26 | 3 | -0/+33 |
| | | | | Move to fixed-point integers instead of floating point. | ||||
* | decoder/mad: move duplicate code to RecoverFrameError() | Max Kellermann | 2014-08-26 | 1 | -20/+16 |
| | |||||
* | decoder/mad: simplify if/else chain | Max Kellermann | 2014-08-26 | 1 | -20/+18 |
| | |||||
* | decoder/mad: make variables more local | Max Kellermann | 2014-08-26 | 1 | -9/+5 |
| | |||||
* | decoder/mad: simplify "return", eliminate check | Max Kellermann | 2014-08-26 | 1 | -3/+1 |
| | | | | | This check was redundant, because we could only exit the loop when ret==DECODE_OK. | ||||
* | output/alsa: fix coding style | Max Kellermann | 2014-08-26 | 1 | -5/+5 |
| |