Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | encoder/lame: use ReusableBuffer instead of AllocatedArray | Max Kellermann | 2013-08-07 | 2 | -212/+13 | |
| | ||||||
* | PcmBuffer: move code to new class ReusableBuffer | Max Kellermann | 2013-08-07 | 6 | -44/+98 | |
| | | | | ReusableBuffer is more generic. | |||||
* | add missing includes | Max Kellermann | 2013-08-07 | 5 | -0/+8 | |
| | ||||||
* | filter/Route: don't access PcmBuffer attributes directly | Max Kellermann | 2013-08-07 | 1 | -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 too | Alexander Gehrke | 2013-08-07 | 1 | -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 Ballier | 2013-08-07 | 1 | -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 libsystem | Max Kellermann | 2013-08-07 | 5 | -2/+2 | |
| | ||||||
* | event/SignalMonitor: use signalfd() if available | Max Kellermann | 2013-08-07 | 3 | -1/+192 | |
| | ||||||
* | SignalHandlers: move code to new class SignalMonitor | Max Kellermann | 2013-08-07 | 6 | -18/+233 | |
| | ||||||
* | event/Event{Pipe,FD}: auto-create in constructor | Max Kellermann | 2013-08-07 | 4 | -59/+23 | |
| | | | | Errors are fatal now. This makes the class a lot easier to use. | |||||
* | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 41 | -37/+37 | |
| | ||||||
* | FatalError: new library to replace mpd_error.h | Max Kellermann | 2013-08-07 | 14 | -76/+220 | |
| | ||||||
* | daemon: convert to C++ | Max Kellermann | 2013-08-07 | 3 | -19/+17 | |
| | ||||||
* | configure.ac: add option --enable-eventfd | Max Kellermann | 2013-08-06 | 7 | -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 Kellermann | 2013-08-06 | 1 | -0/+1 | |
| | ||||||
* | playlist/pls: use std::string instead of GString | Max Kellermann | 2013-08-06 | 1 | -9/+8 | |
| | ||||||
* | encoder/lame: dynamic output buffer | Max Kellermann | 2013-08-06 | 2 | -4/+207 | |
| | ||||||
* | encoder/lame: use delete instead of g_free() | Max Kellermann | 2013-08-06 | 1 | -1/+1 | |
| | ||||||
* | encoder/lame: use lame_encode_buffer_interleaved() | Max Kellermann | 2013-08-06 | 1 | -14/+5 | |
| | | | | Don't deinterleave manually, don't allocate memory. | |||||
* | encoder/lame: use offset variable instead of memmove() | Max Kellermann | 2013-08-06 | 2 | -17/+36 | |
| | ||||||
* | encoder/lame: rename "buffer" to "output_buffer" | Max Kellermann | 2013-08-06 | 2 | -31/+33 | |
| | ||||||
* | playlist/EmbbeddedCue: convert to class | Max Kellermann | 2013-08-05 | 1 | -27/+41 | |
| | ||||||
* | playlist/lastfm: convert to class | Max Kellermann | 2013-08-05 | 1 | -11/+15 | |
| | ||||||
* | playlist/lastfm: allocate the lastfm_playlist object at the end | Max Kellermann | 2013-08-05 | 1 | -15/+14 | |
| | | | | Simplify the error path, because the other allocations may fail. | |||||
* | playlist/m3u: allocate ExtM3uPlaylist with new/delete | Max Kellermann | 2013-08-05 | 1 | -8/+9 | |
| | ||||||
* | playlist/extm3u: allocate ExtM3uPlaylist with new/delete | Max Kellermann | 2013-08-05 | 1 | -10/+11 | |
| | ||||||
* | decoder/ffmpeg: convert struct mpd_ffmpeg_stream to a class | Max Kellermann | 2013-08-05 | 1 | -47/+28 | |
| | ||||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 79 | -240/+260 | |
| | ||||||
* | DatabasePrint: print Last-Modified attribute for directories | Andrzej Rybczak | 2013-08-04 | 1 | -2/+15 | |
| | ||||||
* | Commands: new command "toggleoutput" | Max Kellermann | 2013-08-04 | 5 | -0/+54 | |
| | ||||||
* | Merge tag 'release-0.17.5' | Max Kellermann | 2013-08-04 | 5 | -3/+13 | |
|\ | ||||||
| * | FfmpegDecoderPlugin: add application/flv to mime types list | Justin Riley | 2013-08-04 | 1 | -0/+1 | |
| | | ||||||
| * | decoder/mikmod: use MikMod_free() to free the title on libmikmod-3.2 | Christoph Mende | 2013-08-01 | 1 | -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 song | Max Kellermann | 2013-08-01 | 1 | -1/+6 | |
| | | | | | | | | Fixes Mantis #3770. | |||||
| * | commmand: fix URI argument in playlistadd | tsufeki | 2013-08-01 | 1 | -1/+1 | |
| | | ||||||
| * | NULL pointer vs bool "false" confusion | Matthias Drochner | 2013-06-24 | 3 | -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 functions | Max Kellermann | 2013-08-04 | 2 | -79/+0 | |
| | | ||||||
* | | PlaylistPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 4 | -13/+14 | |
| | | ||||||
* | | DatabasePlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 7 | -16/+16 | |
| | | ||||||
* | | InputPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 4 | -16/+18 | |
| | | ||||||
* | | MixerPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 10 | -26/+27 | |
| | | ||||||
* | | FilterPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 13 | -32/+34 | |
| | | ||||||
* | | EncoderPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 11 | -47/+45 | |
| | | ||||||
* | | OutputPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 23 | -153/+157 | |
| | | ||||||
* | | DecoderPlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 13 | -35/+34 | |
| | | ||||||
* | | ConfigData: move code to block_param, config_param methods | Max Kellermann | 2013-08-04 | 2 | -42/+113 | |
| | | ||||||
* | | ConfigData: remove C++ checks | Max Kellermann | 2013-08-03 | 1 | -20/+0 | |
| | | ||||||
* | | audio_format: convert to C++ | Max Kellermann | 2013-08-03 | 106 | -1187/+1173 | |
| | | ||||||
* | | gcc.h: add macro gcc_unreachable() | Max Kellermann | 2013-08-03 | 12 | -14/+18 | |
| | | ||||||
* | | PcmBuffer: reset size in Clear() | Max Kellermann | 2013-08-01 | 1 | -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." |