Max Kellermann
|
9fcaff749f
|
Chrono: add SignedSongTime::FromS(unsigned)
|
2014-08-29 12:50:41 +02:00 |
|
Max Kellermann
|
3ac1475262
|
Chrono: add methods ToS(), RoundS()
|
2014-08-29 12:23:09 +02:00 |
|
Max Kellermann
|
ad64bab5b2
|
Chrono: add method SignedSongTime::Negative()
|
2014-08-29 12:18:13 +02:00 |
|
Max Kellermann
|
854258f376
|
Chrono: override operator+ and operator-
Make sure we return the correct type. This obsoletes the cast
constructor trick.
|
2014-08-28 13:03:18 +02:00 |
|
Max Kellermann
|
c2001a7259
|
Chrono: add class SignedSongTime
|
2014-08-28 06:42:04 +02:00 |
|
Max Kellermann
|
78f911ac19
|
Chrono: add methods IsZero(), IsPositive()
|
2014-08-28 06:42:04 +02:00 |
|
Max Kellermann
|
58e6f660f3
|
Chrono: add implicit conversion operator from std::chrono::duration
|
2014-08-27 18:47:14 +02:00 |
|
Max Kellermann
|
cd482ca655
|
Chrono: add method ToDoubleS()
|
2014-08-27 18:41:33 +02:00 |
|
Max Kellermann
|
e43b56eb38
|
Chrono: add template parameter to ToScale()
|
2014-08-27 18:41:33 +02:00 |
|
Max Kellermann
|
0c2d767f6f
|
DecoderAPI: use std::chrono::duration for decoder_seek*()
For type safety and code readability.
|
2014-08-26 22:27:04 +02:00 |
|