aboutsummaryrefslogtreecommitdiffstats
path: root/src/Chrono.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-30Chrono: workaround for gcc 4.6 constexpr problemsMax Kellermann1-4/+15
2014-08-29Chrono: add methods FromScale()Max Kellermann1-0/+24
2014-08-29Chrono: rename ToScale() parameterMax Kellermann1-4/+4
2014-08-29Chrono: convert SongTime to SignedSongTime implicitlyMax Kellermann1-0/+5
2014-08-29Chrono: add SignedSongTime::FromS(unsigned)Max Kellermann1-0/+4
2014-08-29Chrono: add methods ToS(), RoundS()Max Kellermann1-0/+16
2014-08-29Chrono: add method SignedSongTime::Negative()Max Kellermann1-0/+7
2014-08-28Chrono: override operator+ and operator-Max Kellermann1-14/+23
Make sure we return the correct type. This obsoletes the cast constructor trick.
2014-08-28Chrono: add class SignedSongTimeMax Kellermann1-0/+64
2014-08-28Chrono: add methods IsZero(), IsPositive()Max Kellermann1-0/+8
2014-08-27Chrono: add implicit conversion operator from std::chrono::durationMax Kellermann1-0/+8
2014-08-27Chrono: add method ToDoubleS()Max Kellermann1-0/+4
2014-08-27Chrono: add template parameter to ToScale()Max Kellermann1-3/+3
2014-08-26DecoderAPI: use std::chrono::duration for decoder_seek*()Max Kellermann1-0/+66
For type safety and code readability.