Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tag/ReplayGain: move code to template function | Max Kellermann | 2014-09-24 | 1 | -8/+30 |
| | |||||
* | decoder/{vorbis,flac}: move duplicate code to tag/VorbisComment.cxx | Max Kellermann | 2014-09-24 | 4 | -24/+78 |
| | |||||
* | tag/ApeReplayGain, decoder/mad: move duplicate code to tag/ReplayGain.cxx | Max Kellermann | 2014-09-24 | 4 | -27/+82 |
| | |||||
* | Merge branch 'v0.18.x' | Max Kellermann | 2014-09-24 | 5 | -8/+40 |
|\ | |||||
| * | OutputThread: retain negative mix ratio | Max Kellermann | 2014-09-18 | 1 | -1/+10 |
| | | | | | | | | Fixes MixRamp breakage. | ||||
| * | command/list: reset used size after the list has been processed | Andrzej Rybczak | 2014-09-18 | 1 | -0/+1 |
| | | |||||
| * | thread/Posix{Cond,Mutex}: don't ues PTHREAD_*_INITIALIZER on NetBSD | Max Kellermann | 2014-09-13 | 3 | -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. | ||||
* | | CommandLine: make all OptionDefs "constexpr" | Max Kellermann | 2014-09-22 | 1 | -9/+9 |
| | | |||||
* | | DecoderBuffer: struct to class | Max Kellermann | 2014-09-22 | 1 | -1/+2 |
| | | |||||
* | | DecoderBuffer: convert functions to methods | Max Kellermann | 2014-09-22 | 3 | -121/+85 |
| | | |||||
* | | decoder/faad: use DecoderBuffer references | Max Kellermann | 2014-09-22 | 1 | -27/+27 |
| | | |||||
* | | decoder/faad: allocate DecoderBuffer on stack | Max Kellermann | 2014-09-22 | 1 | -13/+8 |
| | | |||||
* | | DecoderBuffer: export the struct | Max Kellermann | 2014-09-22 | 3 | -58/+28 |
| | | | | | | | | Eliminates the functions _new() and _free(). | ||||
* | | DecoderBuffer: make "decoder" const | Max Kellermann | 2014-09-21 | 1 | -1/+1 |
| | | |||||
* | | DecoderBuffer: convert pointer to reference | Max Kellermann | 2014-09-21 | 1 | -5/+5 |
| | | |||||
* | | DecoderBuffer: use class DynamicFifoBuffer | Max Kellermann | 2014-09-21 | 1 | -69/+23 |
| | | |||||
* | | decoder/adplug: log version number | Max Kellermann | 2014-09-21 | 1 | -0/+6 |
| | | |||||
* | | decoder/adplug: move the buffer into the loop | Max Kellermann | 2014-09-21 | 1 | -2/+2 |
| | | |||||
* | | decoder/sndfile: include cleanup | Max Kellermann | 2014-09-21 | 1 | -1/+0 |
| | | |||||
* | | decoder/audiofile: fix indent | Max Kellermann | 2014-09-19 | 1 | -1/+1 |
| | | |||||
* | | decoder/sndfile: remove obsolete code comment | Max Kellermann | 2014-09-19 | 1 | -3/+0 |
| | | |||||
* | | decoder/sndfile: remove debug printf() | Max Kellermann | 2014-09-19 | 1 | -2/+0 |
| | | |||||
* | | decoder/sndfile: log detailed sf_open_virtual() error message | Max Kellermann | 2014-09-19 | 1 | -1/+2 |
| | | |||||
* | | decoder/sndfile: support float and 16 bit samples | Max Kellermann | 2014-09-19 | 1 | -4/+32 |
| | | | | | | | | | | Support these PCM formats natively, instead of letting libsndfile convert everything to 32 bit. | ||||
* | | decoder/sndfile: move sf_readf_int() call to sndfile_read_frames() | Max Kellermann | 2014-09-19 | 1 | -2/+10 |
| | | |||||
* | | decoder/sndfile: add sndfile_sample_format() | Max Kellermann | 2014-09-19 | 1 | -1/+9 |
| | | | | | | | | Prepare for other sample formats. | ||||
* | | db/proxy: support empty values in VisitUniqueTags() | Max Kellermann | 2014-09-18 | 1 | -0/+9 |
| | | | | | | | | Workaround for assertion failure in PrintUniqueTag(). | ||||
* | | android/Bridge: add shutdown() | Thomas Guillem | 2014-09-16 | 1 | -0/+9 |
| | | | | | | | | Break the mainloop and terminate run call. | ||||
* | | CurlInputPlugin: fix crash after second init call | Thomas Guillem | 2014-09-16 | 1 | -0/+1 |
| | | | | | | | | | | The second time init was called, http_200_aliases pointed to a freed pointer and leaded to a SEGFAULT. | ||||
* | | Merge tag 'v0.18.14' | Max Kellermann | 2014-09-11 | 5 | -3/+33 |
|\| | |||||
| * | decoder/ffmpeg: use memset() to initialize AVProbeData | Max Kellermann | 2014-09-09 | 1 | -0/+6 |
| | | |||||
| * | decoder/ffmpeg: pass MIME type to ffmpeg/libav version 11 | Max Kellermann | 2014-09-07 | 1 | -0/+7 |
| | | | | | | | | | | | | | | That attribute was uninitialized before, which could crash libavformat. See Debian bug 760669 | ||||
| * | Decoder*: add more assertions | Max Kellermann | 2014-09-07 | 2 | -0/+7 |
| | | |||||
| * | DecoderThread: clear the pipe when handling late SEEK | Max Kellermann | 2014-09-07 | 1 | -1/+11 |
| | | | | | | | | | | See code comment. Fixes assertion failure in decoder_command_finished(). | ||||
| * | decoder/audiofile: fix crash after seeking | Max Kellermann | 2014-09-06 | 1 | -1/+1 |
| | | | | | | | | | | | | Log call was added to the wrong branch. Fixes regression by commit ca1a1149 | ||||
| * | protocol/ArgParser: fix integer overflow in parse_range() | Max Kellermann | 2014-09-04 | 1 | -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. | ||||
* | | output/pulse: simplify _wait_for_operation() | Max Kellermann | 2014-09-05 | 1 | -6/+3 |
| | | | | | | | | Eliminate the duplicate pa_operation_get_state() call. | ||||
* | | input/nfs: auto-reconnect if failed while paused | Max Kellermann | 2014-09-02 | 1 | -1/+46 |
| | | |||||
* | | input/async: add method IsPaused() | Max Kellermann | 2014-09-02 | 1 | -0/+4 |
| | | |||||
* | | nfs/Connection: check for disappearing libnfs socket | Max Kellermann | 2014-08-31 | 1 | -0/+18 |
| | | |||||
* | | nfs/Connection: use only BroadcastError() | Max Kellermann | 2014-08-31 | 1 | -4/+1 |
| | | | | | | | | | | Since BroadcastError() calls BroadcastMountError(), there's no need to check mount_finished here. | ||||
* | | nfs/Connection: nfs_get_fd() can return -1 | Max Kellermann | 2014-08-31 | 1 | -0/+3 |
| | | | | | | | | | | While reconnecting to the NFS server, the socket is -1, because there is no socket. Fixes a potential crash (assertion failure). | ||||
* | | input/nfs: notify client on error | Max Kellermann | 2014-08-31 | 1 | -0/+2 |
| | | | | | | | | Fixes hanging NFS client. | ||||
* | | nfs/Connection: use nfs_get_error() for mount error | Max Kellermann | 2014-08-31 | 1 | -2/+3 |
| | | |||||
* | | nfs/Connection: fix assertion failure | Max Kellermann | 2014-08-31 | 1 | -1/+3 |
| | | |||||
* | | output/alsa, pcm: rename "DSD over USB" to "DoP" | Max Kellermann | 2014-08-31 | 5 | -50/+50 |
| | | | | | | | | | | The standard has been renamed since the early draft that was implemented in MPD. | ||||
* | | Merge tag 'v0.18.13' | Max Kellermann | 2014-08-31 | 4 | -9/+39 |
|\| | |||||
| * | PlaylistControl: use SeekSongOrder(current) to keep current song | Max Kellermann | 2014-08-31 | 1 | -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. | ||||
| * | PlaylistControl: move code to new method SeekSongOrder() | Max Kellermann | 2014-08-31 | 2 | -7/+19 |
| | | |||||
| * | output/alsa: fix endless loop at end of file in dsd_usb mode | Max Kellermann | 2014-08-31 | 1 | -0/+9 |
| | |