Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | CrossFade: pass total_time as SignedSongTime instance | Max Kellermann | 2014-08-29 | 3 | -4/+7 | |
| | | ||||||
* | | db/Stats: use std::chrono::duration for the total duration | Max Kellermann | 2014-08-29 | 4 | -6/+11 | |
| | | | | | | | | Use milliseconds precision to reduce rounding errors. | |||||
* | | db/upnp: use DatabaseStats::Clear() | Max Kellermann | 2014-08-29 | 1 | -4/+1 | |
| | | ||||||
* | | db/Count: use std::chrono::duration for the total time | Max Kellermann | 2014-08-29 | 1 | -6/+9 | |
| | | | | | | | | Use milliseconds precision to reduce rounding errors. | |||||
* | | TagHandler: pass SongTime to duration() | Max Kellermann | 2014-08-29 | 23 | -68/+83 | |
| | | ||||||
* | | DecoderAPI: pass SignedSongTime to decoder_initialized() | Max Kellermann | 2014-08-29 | 26 | -132/+159 | |
| | | ||||||
* | | Chrono: add methods FromScale() | Max Kellermann | 2014-08-29 | 1 | -0/+24 | |
| | | ||||||
* | | Chrono: rename ToScale() parameter | Max Kellermann | 2014-08-29 | 1 | -4/+4 | |
| | | ||||||
* | | decoder/faad: bit_rate==0 is an error | Max Kellermann | 2014-08-29 | 1 | -4/+4 | |
| | | ||||||
* | | MusicChunk: use SignedSongTime for the time stamp | Max Kellermann | 2014-08-29 | 5 | -10/+12 | |
| | | ||||||
* | | MultipleOutputs: use SignedSongTime for elapsed_time | Max Kellermann | 2014-08-29 | 3 | -10/+11 | |
| | | ||||||
* | | 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 | |
| | |