aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-07PcmBuffer: move code to new class ReusableBufferMax Kellermann6-44/+98
ReusableBuffer is more generic.
2013-08-07add missing includesMax Kellermann5-0/+8
2013-08-07filter/Route: don't access PcmBuffer attributes directlyMax Kellermann1-5/+5
Return the pointer given by PcmBuffer::Get() instead of reaching into the PcmBuffer object.
2013-08-07CommandLine.cxx: look for config file in XDG_CONFIG_HOME tooAlexander Gehrke1-1/+7
Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks for the file under Windows.
2013-08-07FfmpegDecoderPlugin: Allocate the interleaved buffer as needed instead of ↵Alexis Ballier1-17/+29
using an arbitrary big constant. Also, save a memcpy when FFmpeg outputs interleaved audio. Fixes build with FFmpeg 2.0.
2013-08-07event/EventFD: move to libsystemMax Kellermann5-2/+2
2013-08-07event/SignalMonitor: use signalfd() if availableMax Kellermann3-1/+192
2013-08-07SignalHandlers: move code to new class SignalMonitorMax Kellermann6-18/+233
2013-08-07event/Event{Pipe,FD}: auto-create in constructorMax Kellermann4-59/+23
Errors are fatal now. This makes the class a lot easier to use.
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann41-37/+37
2013-08-07FatalError: new library to replace mpd_error.hMax Kellermann14-76/+220
2013-08-07daemon: convert to C++Max Kellermann3-19/+17
2013-08-06configure.ac: add option --enable-eventfdMax Kellermann7-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.
2013-08-06util/Manual: add missing include <utility>Max Kellermann1-0/+1
2013-08-06playlist/pls: use std::string instead of GStringMax Kellermann1-9/+8
2013-08-06encoder/lame: dynamic output bufferMax Kellermann2-4/+207
2013-08-06encoder/lame: use delete instead of g_free()Max Kellermann1-1/+1
2013-08-06encoder/lame: use lame_encode_buffer_interleaved()Max Kellermann1-14/+5
Don't deinterleave manually, don't allocate memory.
2013-08-06encoder/lame: use offset variable instead of memmove()Max Kellermann2-17/+36
2013-08-06encoder/lame: rename "buffer" to "output_buffer"Max Kellermann2-31/+33
2013-08-05playlist/EmbbeddedCue: convert to classMax Kellermann1-27/+41
2013-08-05playlist/lastfm: convert to classMax Kellermann1-11/+15
2013-08-05playlist/lastfm: allocate the lastfm_playlist object at the endMax Kellermann1-15/+14
Simplify the error path, because the other allocations may fail.
2013-08-05playlist/m3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann1-8/+9
2013-08-05playlist/extm3u: allocate ExtM3uPlaylist with new/deleteMax Kellermann1-10/+11
2013-08-05decoder/ffmpeg: convert struct mpd_ffmpeg_stream to a classMax Kellermann1-47/+28
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann79-240/+260
2013-08-04DatabasePrint: print Last-Modified attribute for directoriesAndrzej Rybczak1-2/+15
2013-08-04Commands: new command "toggleoutput"Max Kellermann5-0/+54
2013-08-04FfmpegDecoderPlugin: add application/flv to mime types listJustin Riley1-0/+1
2013-08-04ConfigData: remove obsolete functionsMax Kellermann2-79/+0
2013-08-04PlaylistPlugin: pass config_param referenceMax Kellermann4-13/+14
2013-08-04DatabasePlugin: pass config_param referenceMax Kellermann7-16/+16
2013-08-04InputPlugin: pass config_param referenceMax Kellermann4-16/+18
2013-08-04MixerPlugin: pass config_param referenceMax Kellermann10-26/+27
2013-08-04FilterPlugin: pass config_param referenceMax Kellermann13-32/+34
2013-08-04EncoderPlugin: pass config_param referenceMax Kellermann11-47/+45
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann23-153/+157
2013-08-04DecoderPlugin: pass config_param referenceMax Kellermann13-35/+34
2013-08-04ConfigData: move code to block_param, config_param methodsMax Kellermann2-42/+113
2013-08-03ConfigData: remove C++ checksMax Kellermann1-20/+0
2013-08-03audio_format: convert to C++Max Kellermann106-1187/+1173
2013-08-03gcc.h: add macro gcc_unreachable()Max Kellermann12-14/+18
2013-08-01decoder/mikmod: use MikMod_free() to free the title on libmikmod-3.2Christoph Mende1-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>
2013-08-01playlist_edit: fix "move" relative to current when there is no current songMax Kellermann1-1/+6
Fixes Mantis #3770.
2013-08-01commmand: fix URI argument in playlistaddtsufeki1-1/+1
2013-08-01PcmBuffer: reset size in Clear()Max Kellermann1-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."
2013-07-31Tag: check bulk mode in Clear()Max Kellermann1-1/+8
2013-07-31decoder/ffmpeg: require ffmpeg/libav 0.8Max Kellermann1-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.
2013-07-31output/winmm: adapt to PcmBuffer API changesMax Kellermann1-5/+4