aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add missing includesMax Kellermann2013-08-075-0/+8
|
* filter/Route: don't access PcmBuffer attributes directlyMax Kellermann2013-08-071-5/+5
| | | | | Return the pointer given by PcmBuffer::Get() instead of reaching into the PcmBuffer object.
* CommandLine.cxx: look for config file in XDG_CONFIG_HOME tooAlexander Gehrke2013-08-071-1/+7
| | | | | Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks for the file under Windows.
* FfmpegDecoderPlugin: Allocate the interleaved buffer as needed instead of ↵Alexis Ballier2013-08-071-17/+29
| | | | | | | | using an arbitrary big constant. Also, save a memcpy when FFmpeg outputs interleaved audio. Fixes build with FFmpeg 2.0.
* event/EventFD: move to libsystemMax Kellermann2013-08-075-2/+2
|
* event/SignalMonitor: use signalfd() if availableMax Kellermann2013-08-073-1/+192
|
* SignalHandlers: move code to new class SignalMonitorMax Kellermann2013-08-076-18/+233
|
* event/Event{Pipe,FD}: auto-create in constructorMax Kellermann2013-08-074-59/+23
| | | | Errors are fatal now. This makes the class a lot easier to use.
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-0741-37/+37
|
* FatalError: new library to replace mpd_error.hMax Kellermann2013-08-0714-76/+220
|
* daemon: convert to C++Max Kellermann2013-08-073-19/+17
|
* configure.ac: add option --enable-eventfdMax Kellermann2013-08-067-105/+230
| | | | | | Remove the runtime check for eventfd(), hard-code the feature once it's been selected at compile time. The class WakeFD is splitted into EventFD and EventPipe, using WakeFD as a macro diversion.
* util/Manual: add missing include <utility>Max Kellermann2013-08-061-0/+1
|
* playlist/pls: use std::string instead of GStringMax Kellermann2013-08-061-9/+8
|
* encoder/lame: dynamic output bufferMax Kellermann2013-08-062-4/+207
|
* encoder/lame: use delete instead of g_free()Max Kellermann2013-08-061-1/+1
|
* encoder/lame: use lame_encode_buffer_interleaved()Max Kellermann2013-08-061-14/+5
| | | | Don't deinterleave manually, don't allocate memory.
* encoder/lame: use offset variable instead of memmove()Max Kellermann2013-08-062-17/+36
|
* encoder/lame: rename "buffer" to "output_buffer"Max Kellermann2013-08-062-31/+33
|
* playlist/EmbbeddedCue: convert to classMax Kellermann2013-08-051-27/+41
|
* playlist/lastfm: convert to classMax Kellermann2013-08-051-11/+15
|
* playlist/lastfm: allocate the lastfm_playlist object at the endMax Kellermann2013-08-051-15/+14
| | | | Simplify the error path, because the other allocations may fail.
* playlist/m3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann2013-08-051-8/+9
|
* playlist/extm3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann2013-08-051-10/+11
|
* decoder/ffmpeg: convert struct mpd_ffmpeg_stream to a classMax Kellermann2013-08-051-47/+28
|
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-0479-240/+260
|
* DatabasePrint: print Last-Modified attribute for directoriesAndrzej Rybczak2013-08-041-2/+15
|
* Commands: new command "toggleoutput"Max Kellermann2013-08-045-0/+54
|
* Merge tag 'release-0.17.5'Max Kellermann2013-08-045-3/+13
|\
| * FfmpegDecoderPlugin: add application/flv to mime types listJustin Riley2013-08-041-0/+1
| |
| * decoder/mikmod: use MikMod_free() to free the title on libmikmod-3.2Christoph Mende2013-08-011-0/+4
| | | | | | | | | | | | | | | | | | Player_LoadTitle() returns an aligned pointer in libmikmod-3.2 that cannot be freed with free(). The correct way to do this now is MikMod_free() which extracts the original pointer from the buffer and frees that. Signed-off-by: Christoph Mende <mende.christoph@gmail.com>
| * playlist_edit: fix "move" relative to current when there is no current songMax Kellermann2013-08-011-1/+6
| | | | | | | | Fixes Mantis #3770.
| * commmand: fix URI argument in playlistaddtsufeki2013-08-011-1/+1
| |
| * NULL pointer vs bool "false" confusionMatthias Drochner2013-06-243-3/+3
| | | | | | | | | | there are some places in the mpd-0.17.4 sources where a "false" is used instead of a NULL pointer.
* | ConfigData: remove obsolete functionsMax Kellermann2013-08-042-79/+0
| |
* | PlaylistPlugin: pass config_param referenceMax Kellermann2013-08-044-13/+14
| |
* | DatabasePlugin: pass config_param referenceMax Kellermann2013-08-047-16/+16
| |
* | InputPlugin: pass config_param referenceMax Kellermann2013-08-044-16/+18
| |
* | MixerPlugin: pass config_param referenceMax Kellermann2013-08-0410-26/+27
| |
* | FilterPlugin: pass config_param referenceMax Kellermann2013-08-0413-32/+34
| |
* | EncoderPlugin: pass config_param referenceMax Kellermann2013-08-0411-47/+45
| |
* | OutputPlugin: pass config_param referenceMax Kellermann2013-08-0423-153/+157
| |
* | DecoderPlugin: pass config_param referenceMax Kellermann2013-08-0413-35/+34
| |
* | ConfigData: move code to block_param, config_param methodsMax Kellermann2013-08-042-42/+113
| |
* | ConfigData: remove C++ checksMax Kellermann2013-08-031-20/+0
| |
* | audio_format: convert to C++Max Kellermann2013-08-03106-1187/+1173
| |
* | gcc.h: add macro gcc_unreachable()Max Kellermann2013-08-0312-14/+18
| |
* | PcmBuffer: reset size in Clear()Max Kellermann2013-08-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix for Mantis #3806. "PcmBuffer::Clear clears the buffer but does not reset the size. If Get is called on the same PcmBuffer later on with a size that is the same as (or less than) it was before the call to Clear, the "else" branch is taken and the memory of buffer (at the address of nullptr) is poisoned instead of the necessary allocation being performed. A memset or memcpy on the returned pointer (nullptr) causes a segmentation fault."
* | Tag: check bulk mode in Clear()Max Kellermann2013-07-311-1/+8
| |
* | decoder/ffmpeg: require ffmpeg/libav 0.8Max Kellermann2013-07-311-89/+0
| | | | | | | | | | Now that even Debian stable has picked up version 0.8, we can safely make this a requirement, and remove a lot of old cruft.