aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-07decoder/ffmpeg: pass MIME type to ffmpeg/libav version 11Max Kellermann1-0/+7
That attribute was uninitialized before, which could crash libavformat. See Debian bug 760669
2014-09-07Decoder*: add more assertionsMax Kellermann2-0/+7
2014-09-07DecoderThread: clear the pipe when handling late SEEKMax Kellermann1-1/+11
See code comment. Fixes assertion failure in decoder_command_finished().
2014-09-06decoder/audiofile: fix crash after seekingMax Kellermann1-1/+1
Log call was added to the wrong branch. Fixes regression by commit ca1a1149
2014-09-05output/pulse: simplify _wait_for_operation()Max Kellermann1-6/+3
Eliminate the duplicate pa_operation_get_state() call.
2014-09-04protocol/ArgParser: fix integer overflow in parse_range()Max Kellermann1-2/+2
Casting std::numeric_limits<unsigned>::max() to "long" leads to an overflow if sizeof(unsigned)==sizeof(long), and the result will be -1. This happens on some 32 bit architectures, for example ARM and WIN32. Workaround: use std::numeric_limits<int>::max(), which is the largest signed integer. Since sizeof(long)>=sizeof(int), this will never overflow. Fixes Mantis ticket 0004080.
2014-09-02input/nfs: auto-reconnect if failed while pausedMax Kellermann1-1/+46
2014-09-02input/async: add method IsPaused()Max Kellermann1-0/+4
2014-08-31nfs/Connection: check for disappearing libnfs socketMax Kellermann1-0/+18
2014-08-31nfs/Connection: use only BroadcastError()Max Kellermann1-4/+1
Since BroadcastError() calls BroadcastMountError(), there's no need to check mount_finished here.
2014-08-31nfs/Connection: nfs_get_fd() can return -1Max Kellermann1-0/+3
While reconnecting to the NFS server, the socket is -1, because there is no socket. Fixes a potential crash (assertion failure).
2014-08-31input/nfs: notify client on errorMax Kellermann1-0/+2
Fixes hanging NFS client.
2014-08-31nfs/Connection: use nfs_get_error() for mount errorMax Kellermann1-2/+3
2014-08-31nfs/Connection: fix assertion failureMax Kellermann1-1/+3
2014-08-31output/alsa, pcm: rename "DSD over USB" to "DoP"Max Kellermann5-50/+50
The standard has been renamed since the early draft that was implemented in MPD.
2014-08-31PlaylistControl: use SeekSongOrder(current) to keep current songMax Kellermann1-1/+1
The "current" attribute is a "song order", not a "song position". This is usually the same - except in random mode. Fixes Mantis ticket 0004073.
2014-08-31PlaylistControl: move code to new method SeekSongOrder()Max Kellermann2-7/+19
2014-08-31output/alsa: fix endless loop at end of file in dsd_usb modeMax Kellermann1-0/+9
2014-08-31output/{alsa,oss}: add assertionsMax Kellermann2-0/+6
2014-08-31DecoderAPI: use std::min()Max Kellermann1-3/+1
2014-08-31MusicChunk: remove special case for num_frames==0Max Kellermann2-6/+1
Simply return an empty WritableBuffer, not a nulled one.
2014-08-31MusicChunk: copy AudioFormat only when chunk is emptyMax Kellermann1-4/+4
2014-08-30PlaylistMapper: pass the Storage::MapUTF() result to playlist_open_remote()Max Kellermann1-1/+1
Finally allows loading playlist files on a storage plugin. Commit 297e2747 attempted to implement this, but failed due to this bug.
2014-08-30decoder/sndfile: refactor frame_to_time()Max Kellermann1-8/+6
2014-08-30*: add missing Compiler.h includesMax Kellermann21-0/+21
Necessary for "final" on gcc 4.6.
2014-08-30Chrono: workaround for gcc 4.6 constexpr problemsMax Kellermann1-4/+15
2014-08-30PlayerControl: make settings "const"Max Kellermann1-2/+2
2014-08-30PlayerControl: update include guardMax Kellermann1-2/+2
2014-08-30output/alsa: fix signed/unsigned comparison warningMax Kellermann1-1/+1
2014-08-30db/simple: fix build failure without zlibMax Kellermann1-1/+4
2014-08-29ArgParser: allow fractional seconds in ParseCommandArg(SongTime)Max Kellermann1-4/+4
2014-08-29CrossFade: pass total_time as SignedSongTime instanceMax Kellermann3-4/+7
2014-08-29db/Stats: use std::chrono::duration for the total durationMax Kellermann4-6/+11
Use milliseconds precision to reduce rounding errors.
2014-08-29db/upnp: use DatabaseStats::Clear()Max Kellermann1-4/+1
2014-08-29db/Count: use std::chrono::duration for the total timeMax Kellermann1-6/+9
Use milliseconds precision to reduce rounding errors.
2014-08-29decoder/gme: fix song durationMax Kellermann1-1/+1
The unit of gme_info_t::length is milliseconds, not centiseconds.
2014-08-29TagHandler: pass SongTime to duration()Max Kellermann22-66/+81
2014-08-29DecoderAPI: pass SignedSongTime to decoder_initialized()Max Kellermann25-130/+157
2014-08-29Chrono: add methods FromScale()Max Kellermann1-0/+24
2014-08-29Chrono: rename ToScale() parameterMax Kellermann1-4/+4
2014-08-29decoder/faad: bit_rate==0 is an errorMax Kellermann1-4/+4
2014-08-29MusicChunk: use SignedSongTime for the time stampMax Kellermann5-10/+12
2014-08-29MultipleOutputs: use SignedSongTime for elapsed_timeMax Kellermann3-10/+11
2014-08-29PlayerThread: use SongTime for elapsed_timeMax Kellermann5-17/+17
2014-08-29PlayerControl: use SignedSongTime for the song durationMax Kellermann3-14/+16
2014-08-29DecoderControl: use SignedSongTime for the song durationMax Kellermann3-4/+6
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann24-82/+98
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