Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 9 | -52/+106 |
| | | | | 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 | 2 | -0/+30 |
| | |||||
* | decoder/mp4v2: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -4/+7 |
| | |||||
* | decoder/ffmpeg: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -3/+3 |
| | |||||
* | decoder/gme: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -2/+2 |
| | |||||
* | decoder/modplug: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -4/+1 |
| | |||||
* | decoder/mad: use integer seek times | Max Kellermann | 2014-08-26 | 1 | -10/+9 |
| | | | | Avoid roundtrips to floating point. | ||||
* | DecoderAPI: add decoder_seek_where_ms() | Max Kellermann | 2014-08-26 | 2 | -0/+27 |
| | | | | Move to fixed-point integers instead of floating point. | ||||
* | decoder/mad: move duplicate code to RecoverFrameError() | Max Kellermann | 2014-08-26 | 1 | -20/+16 |
| | |||||
* | decoder/mad: simplify if/else chain | Max Kellermann | 2014-08-26 | 1 | -20/+18 |
| | |||||
* | decoder/mad: make variables more local | Max Kellermann | 2014-08-26 | 1 | -9/+5 |
| | |||||
* | decoder/mad: simplify "return", eliminate check | Max Kellermann | 2014-08-26 | 1 | -3/+1 |
| | | | | | This check was redundant, because we could only exit the loop when ret==DECODE_OK. | ||||
* | output/alsa: fix coding style | Max Kellermann | 2014-08-26 | 1 | -5/+5 |
| | |||||
* | output/alsa: merge Init() into Configure() | Max Kellermann | 2014-08-26 | 1 | -6/+5 |
| | |||||
* | ZeroconfAvahi: fix coding style | Max Kellermann | 2014-08-26 | 1 | -74/+87 |
| | |||||
* | ZeroconfAvahi: remove "goto" | Max Kellermann | 2014-08-26 | 1 | -7/+3 |
| | |||||
* | ZeroconfAvahi: remove unused flag "avahi_running" | Max Kellermann | 2014-08-26 | 1 | -7/+1 |
| | | | | This flag is never read. | ||||
* | output/alsa: add API documentation | Max Kellermann | 2014-08-26 | 1 | -0/+17 |
| | |||||
* | output/alsa: support native DSD playback | Max Kellermann | 2014-08-26 | 1 | -0/+12 |
| | | | | | Translate SampleFormat::DSD to SND_PCM_FORMAT_DSD_U8, which was added to alsa-lib 1.0.27.1. | ||||
* | output/alsa: move alsa_configure() into the class | Max Kellermann | 2014-08-26 | 1 | -13/+15 |
| | |||||
* | PcmExport: remove obsolete API documentation | Max Kellermann | 2014-08-26 | 1 | -2/+1 |
| | |||||
* | output/alsa: remove obsolete macros | Max Kellermann | 2014-08-26 | 1 | -3/+0 |
| | |||||
* | decoder/mad: don't reset the xing struct | Max Kellermann | 2014-08-25 | 1 | -3/+1 |
| | | | | Not necessary. | ||||
* | decoder/mad: remove unused flag "found_xing" | Max Kellermann | 2014-08-25 | 1 | -3/+1 |
| | |||||
* | decoder/mad: convert enums/macros to constexpr | Max Kellermann | 2014-08-24 | 1 | -22/+17 |
| | |||||
* | decoder/mad: make variables more local | Max Kellermann | 2014-08-24 | 1 | -60/+31 |
| | |||||
* | StateFile: configurable interval | Max Kellermann | 2014-08-24 | 5 | -4/+15 |
| | |||||
* | StateFile: make "path" const | Max Kellermann | 2014-08-24 | 1 | -2/+2 |
| | |||||
* | Merge branch 'v0.18.x' | Max Kellermann | 2014-08-24 | 1 | -1/+1 |
|\ | |||||
| * | event/TimeoutMonitor: really reset "active" flag before invoking OnTimeout() | Max Kellermann | 2014-08-24 | 1 | -1/+1 |
| | | | | | | | | The previous commit was broken. D'oh! | ||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2014-08-24 | 2 | -0/+11 |
|\| | |||||
| * | event/TimeoutMonitor: reset "active" flag before invoking OnTimeout() | Max Kellermann | 2014-08-24 | 1 | -1/+3 |
| | | | | | | | | | | | | The IsActive() method returned true even if the timer was not active, after it completed once. This broke the state file timer, and the state file was not saved periodically. |