Max Kellermann
|
7c567e3cbd
|
CrossFade: pass total_time as SignedSongTime instance
|
2014-08-29 23:41:34 +02:00 |
Max Kellermann
|
58352ea69d
|
db/Stats: use std::chrono::duration for the total duration
Use milliseconds precision to reduce rounding errors.
|
2014-08-29 23:25:03 +02:00 |
Max Kellermann
|
de64b35359
|
db/upnp: use DatabaseStats::Clear()
|
2014-08-29 23:24:49 +02:00 |
Max Kellermann
|
7df8e1eab2
|
db/Count: use std::chrono::duration for the total time
Use milliseconds precision to reduce rounding errors.
|
2014-08-29 23:18:40 +02:00 |
Max Kellermann
|
3158955198
|
TagHandler: pass SongTime to duration()
|
2014-08-29 22:52:04 +02:00 |
Max Kellermann
|
d9d97bd17b
|
DecoderAPI: pass SignedSongTime to decoder_initialized()
|
2014-08-29 21:40:15 +02:00 |
Max Kellermann
|
94f6380d69
|
Chrono: add methods FromScale()
|
2014-08-29 21:38:08 +02:00 |
Max Kellermann
|
2ee821656f
|
Chrono: rename ToScale() parameter
|
2014-08-29 21:38:08 +02:00 |
Max Kellermann
|
7556abb92d
|
decoder/faad: bit_rate==0 is an error
|
2014-08-29 21:38:08 +02:00 |
Max Kellermann
|
9d3a85d434
|
MusicChunk: use SignedSongTime for the time stamp
|
2014-08-29 13:20:58 +02:00 |
Max Kellermann
|
147d301f10
|
MultipleOutputs: use SignedSongTime for elapsed_time
|
2014-08-29 13:20:58 +02:00 |
Max Kellermann
|
75a89c5983
|
PlayerThread: use SongTime for elapsed_time
|
2014-08-29 13:20:58 +02:00 |
Max Kellermann
|
2289968634
|
PlayerControl: use SignedSongTime for the song duration
|
2014-08-29 13:20:58 +02:00 |
Max Kellermann
|
ca252804c6
|
DecoderControl: use SignedSongTime for the song duration
|
2014-08-29 13:20:58 +02:00 |
Max Kellermann
|
7c25d83f1c
|
Tag: use SignedSongTime for the song duration
|
2014-08-29 13:20:58 +02:00 |
Max Kellermann
|
8ce30c6a69
|
Chrono: convert SongTime to SignedSongTime implicitly
|
2014-08-29 13:20:58 +02:00 |
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
|
f02998b106
|
DecoderControl: use std::chrono::duration for start_ms and end_ms
|
2014-08-28 13:08:44 +02:00 |
Max Kellermann
|
127fe6ecf0
|
PlaylistEdit: pass std::chrono::duration to SetSongIdRange()
|
2014-08-28 13:03:18 +02:00 |
Max Kellermann
|
888ab0c89c
|
db/simple/Song: use std::chrono::duration for start_ms and end_ms
|
2014-08-28 13:03:18 +02:00 |
Max Kellermann
|
2efd8ef52d
|
db/LightSong: use std::chrono::duration for start_ms and end_ms
|
2014-08-28 13:03:18 +02:00 |
Max Kellermann
|
6ad933982f
|
DetachedSong: use std::chrono::duration for start_ms and end_ms
|
2014-08-28 13:03:18 +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
|
26f2d7fbae
|
DecoderControl: update API documentation
|
2014-08-28 13:03:18 +02:00 |
Max Kellermann
|
3952920492
|
Playlist: use std::chrono::duration for Seek*()
|
2014-08-28 06:42:19 +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
|
0f2a7226fb
|
PlayerControl: use std::chrono::duration for Seek()
|
2014-08-27 19:07:16 +02:00 |
Max Kellermann
|
f8d0ebe92f
|
PlayerThread: check if total_time is valid before using it
|
2014-08-27 19:06:50 +02:00 |
Max Kellermann
|
ba6ba7d4be
|
DecoderControl: use std::chrono::duration for Seek()
|
2014-08-27 18:48:43 +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 |
Max Kellermann
|
02e697032f
|
decoder/pcm: use integer seek times
|
2014-08-26 22:05:02 +02:00 |
Max Kellermann
|
07dc262690
|
decoder/dsf: use integer seek times
|
2014-08-26 22:00:16 +02:00 |
Max Kellermann
|
6bf8d5b936
|
decoder/dsdiff: use integer seek times
|
2014-08-26 21:53:50 +02:00 |
Max Kellermann
|
93858bf262
|
decoder/wildmidi: use integer seek times
|
2014-08-26 11:41:48 +02:00 |
Max Kellermann
|
f64da46a98
|
decoder/wavpack: use integer seek times
|
2014-08-26 11:39:58 +02:00 |
Max Kellermann
|
2052a029ee
|
decoder/vorbis: use integer seek times
|
2014-08-26 11:38:39 +02:00 |
Max Kellermann
|
c6aafff701
|
decoder/sndfile: use integer seek times
|
2014-08-26 11:36:20 +02:00 |
Max Kellermann
|
26f0f92210
|
decoder/opus: use integer seek times
|
2014-08-26 11:34:56 +02:00 |
Max Kellermann
|
bdc4ae2b86
|
decoder/opus: remove redundant decoder_timestamp() call
After seeking, the MPD core automatically refreshes the timestamp, and
thus discards the value from decoder_timestamp().
|
2014-08-26 11:34:24 +02:00 |
Max Kellermann
|
9ca9341384
|
decoder/mpg123: use integer seek times
|
2014-08-26 11:31:57 +02:00 |
Max Kellermann
|
7f4f8b7c7d
|
decoder/mpcdec: use integer seek times
|
2014-08-26 11:31:49 +02:00 |
Max Kellermann
|
8870526457
|
decoder/flac: use integer seek times
|
2014-08-26 11:30:21 +02:00 |
Max Kellermann
|
f057e1e17a
|
decoder/audiofile: use integer seek times
|
2014-08-26 11:29:22 +02:00 |
Max Kellermann
|
8561c9c5a6
|
DecoderAPI: add decoder_seek_where_frame()
|
2014-08-26 11:27:41 +02:00 |