Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | decoder/gme: fix song duration | Max Kellermann | 2014-08-29 | 2 | -1/+2 | |
| | | | | | | | | The unit of gme_info_t::length is milliseconds, not centiseconds. | |||||
* | | DecoderAPI: use std::min() | Max Kellermann | 2014-08-31 | 1 | -3/+1 | |
| | | ||||||
* | | MusicChunk: remove special case for num_frames==0 | Max Kellermann | 2014-08-31 | 2 | -6/+1 | |
| | | | | | | | | Simply return an empty WritableBuffer, not a nulled one. | |||||
* | | MusicChunk: copy AudioFormat only when chunk is empty | Max Kellermann | 2014-08-31 | 1 | -4/+4 | |
| | | ||||||
* | | PlaylistMapper: pass the Storage::MapUTF() result to playlist_open_remote() | Max Kellermann | 2014-08-30 | 1 | -1/+1 | |
| | | | | | | | | | | Finally allows loading playlist files on a storage plugin. Commit 297e2747 attempted to implement this, but failed due to this bug. | |||||
* | | decoder/sndfile: refactor frame_to_time() | Max Kellermann | 2014-08-30 | 1 | -8/+6 | |
| | | ||||||
* | | *: add missing Compiler.h includes | Max Kellermann | 2014-08-30 | 21 | -0/+21 | |
| | | | | | | | | Necessary for "final" on gcc 4.6. | |||||
* | | Chrono: workaround for gcc 4.6 constexpr problems | Max Kellermann | 2014-08-30 | 1 | -4/+15 | |
| | | ||||||
* | | PlayerControl: make settings "const" | Max Kellermann | 2014-08-30 | 2 | -5/+7 | |
| | | ||||||
* | | PlayerControl: update include guard | Max Kellermann | 2014-08-30 | 1 | -2/+2 | |
| | | ||||||
* | | output/alsa: fix signed/unsigned comparison warning | Max Kellermann | 2014-08-30 | 1 | -1/+1 | |
| | | ||||||
* | | db/simple: fix build failure without zlib | Max Kellermann | 2014-08-30 | 1 | -1/+4 | |
| | | ||||||
* | | ArgParser: allow fractional seconds in ParseCommandArg(SongTime) | Max Kellermann | 2014-08-29 | 3 | -10/+13 | |
| | | ||||||
* | | 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 | |
| | |