aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-24tag/ReplayGain: move code to template functionMax Kellermann1-8/+30
2014-09-24decoder/{vorbis,flac}: move duplicate code to tag/VorbisComment.cxxMax Kellermann4-24/+78
2014-09-24tag/ApeReplayGain, decoder/mad: move duplicate code to tag/ReplayGain.cxxMax Kellermann4-27/+82
2014-09-22CommandLine: make all OptionDefs "constexpr"Max Kellermann1-9/+9
2014-09-22DecoderBuffer: struct to classMax Kellermann1-1/+2
2014-09-22DecoderBuffer: convert functions to methodsMax Kellermann3-121/+85
2014-09-22decoder/faad: use DecoderBuffer referencesMax Kellermann1-27/+27
2014-09-22decoder/faad: allocate DecoderBuffer on stackMax Kellermann1-13/+8
2014-09-22DecoderBuffer: export the structMax Kellermann3-58/+28
Eliminates the functions _new() and _free().
2014-09-21DecoderBuffer: make "decoder" constMax Kellermann1-1/+1
2014-09-21DecoderBuffer: convert pointer to referenceMax Kellermann1-5/+5
2014-09-21DecoderBuffer: use class DynamicFifoBufferMax Kellermann1-69/+23
2014-09-21decoder/adplug: log version numberMax Kellermann1-0/+6
2014-09-21decoder/adplug: move the buffer into the loopMax Kellermann1-2/+2
2014-09-21decoder/sndfile: include cleanupMax Kellermann1-1/+0
2014-09-19decoder/audiofile: fix indentMax Kellermann1-1/+1
2014-09-19decoder/sndfile: remove obsolete code commentMax Kellermann1-3/+0
2014-09-19decoder/sndfile: remove debug printf()Max Kellermann1-2/+0
2014-09-19decoder/sndfile: log detailed sf_open_virtual() error messageMax Kellermann1-1/+2
2014-09-19decoder/sndfile: support float and 16 bit samplesMax Kellermann1-4/+32
Support these PCM formats natively, instead of letting libsndfile convert everything to 32 bit.
2014-09-19decoder/sndfile: move sf_readf_int() call to sndfile_read_frames()Max Kellermann1-2/+10
2014-09-19decoder/sndfile: add sndfile_sample_format()Max Kellermann1-1/+9
Prepare for other sample formats.
2014-09-18db/proxy: support empty values in VisitUniqueTags()Max Kellermann1-0/+9
Workaround for assertion failure in PrintUniqueTag().
2014-09-18OutputThread: retain negative mix ratioMax Kellermann1-1/+10
Fixes MixRamp breakage.
2014-09-18command/list: reset used size after the list has been processedAndrzej Rybczak1-0/+1
2014-09-16android/Bridge: add shutdown()Thomas Guillem1-0/+9
Break the mainloop and terminate run call.
2014-09-16CurlInputPlugin: fix crash after second init callThomas Guillem1-0/+1
The second time init was called, http_200_aliases pointed to a freed pointer and leaded to a SEGFAULT.
2014-09-13thread/Posix{Cond,Mutex}: don't ues PTHREAD_*_INITIALIZER on NetBSDMax Kellermann3-1/+29
On NetBSD, PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER are not compatible with C++11 "constexpr" (see Mantis ticket 0004110). As a workaround, don't ues "constexpr", and use the functions pthread_mutex_init(), pthread_mutex_destroy(), pthread_cond_init() and pthread_cond_destroy() instead. This adds some runtime overhead, but is portable to POSIX implementations that have awkward initializer macros.
2014-09-09decoder/ffmpeg: use memset() to initialize AVProbeDataMax Kellermann1-0/+6
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.