Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-01-07 | TagPool: use the Mutex class instead of GStaticMutex | Max Kellermann | 3 | -22/+13 | |
2013-01-07 | tag: convert to C++ | Max Kellermann | 9 | -85/+113 | |
2013-01-07 | DatabaseLock: use the Mutex class instead of GLib's GMutex | Max Kellermann | 2 | -4/+5 | |
2013-01-07 | thread/Mutex: don't use std::mutex | Max Kellermann | 2 | -8/+68 | |
Use a custom pthread_mutex_t wrapper because std::mutex adds overhead. | |||||
2013-01-07 | replay_gain_info, ...: use cmath instead of math.h in C++ mode | Max Kellermann | 5 | -8/+20 | |
Fixes build problems with mingw32. | |||||
2013-01-07 | filter/replay_gain: convert to C++ | Max Kellermann | 5 | -17/+22 | |
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 45 | -73/+86 | |
2013-01-07 | mixer_all: convert to C++ | Max Kellermann | 11 | -23/+18 | |
2013-01-07 | volume: convert to C++ | Max Kellermann | 6 | -13/+12 | |
2013-01-07 | audio_config, volume, mixer_all: include cleanup | Max Kellermann | 3 | -10/+0 | |
2013-01-06 | Queue: use std::swap | Max Kellermann | 2 | -7/+4 | |
2013-01-06 | queue: convert all functions to methods | Max Kellermann | 11 | -558/+473 | |
2013-01-06 | Queue: add constructor and destructor | Max Kellermann | 3 | -43/+31 | |
2013-01-06 | Playlist: add constructor and destructor | Max Kellermann | 3 | -27/+11 | |
2013-01-06 | DatabaseQueue: force passing playlist reference to std::bind() | Max Kellermann | 1 | -1/+1 | |
Avoid implicit copy. | |||||
2013-01-05 | Partition: new class, container for Playlist and PlayerControl | Max Kellermann | 10 | -60/+102 | |
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process. | |||||
2013-01-05 | filter/ReplayGain: add method _set_mode() | Max Kellermann | 10 | -14/+56 | |
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode(). | |||||
2013-01-05 | DecoderAPI: don't use replay_gain_get_real_mode() | Max Kellermann | 1 | -1/+5 | |
replay_gain_get_real_mode() accesses dangerous globals. Let's just use the global variable replay_gain_mode, and assume "AUTO" means "TRACK". At this point, this is the best we can do, because neither the decoder nor the player should know about the current replay gain mode. This is applied as a filter in the output thread. | |||||
2013-01-05 | DecoderAPI: _replay_gain() returns void | Max Kellermann | 4 | -17/+9 | |
Let the function decoder_replay_gain() update decoder_control::replay_gain_db instead of letting each decoder plugin take care for that. | |||||
2013-01-04 | replay_gain_*: convert to C++ | Max Kellermann | 2 | -2/+9 | |
2013-01-04 | replay_gain_config: remove unused variable replay_gain_mode_names | Max Kellermann | 1 | -5/+0 | |
2013-01-04 | DatabaseQueue: pass playlist object | Max Kellermann | 4 | -8/+14 | |
Don't use the global variable "g_playlist". | |||||
2013-01-04 | Client: add "playlist" attribute | Max Kellermann | 7 | -64/+84 | |
Reduce access to the global variable "g_playlist". | |||||
2013-01-04 | PlayerControl: initialize all attributes | Max Kellermann | 1 | -1/+5 | |
2013-01-04 | Client: initialize num_subscriptions | Max Kellermann | 1 | -1/+2 | |
2013-01-04 | Playlist: pass max_length to playlist_init() | Max Kellermann | 4 | -10/+8 | |
Move the configuration lookup to Main.cxx. | |||||
2013-01-04 | PlayerControl: add constructor and destructor | Max Kellermann | 3 | -33/+24 | |
2013-01-04 | player_control.h: convert header to C++ | Max Kellermann | 13 | -15/+14 | |
2013-01-04 | playlist: convert to C++ | Max Kellermann | 23 | -61/+66 | |
2013-01-04 | DecoderThread: move code to destructor | Max Kellermann | 3 | -14/+26 | |
2013-01-04 | DecoderInternal: initialize replay_gain_serial | Max Kellermann | 1 | -1/+2 | |
2013-01-04 | DecoderInternal: move initializers to constructor | Max Kellermann | 2 | -13/+10 | |
2013-01-04 | MusicChunk: move functions to methods | Max Kellermann | 8 | -104/+89 | |
2013-01-04 | Mutex: new wrapper for std::mutex, replaces GMutex | Max Kellermann | 4 | -43/+134 | |
2013-01-04 | MusicPipe: allocate with new/delete | Max Kellermann | 1 | -17/+18 | |
2013-01-04 | mpd_error.h: add missing glib.h include | Max Kellermann | 1 | -0/+1 | |
2013-01-04 | MusicBuffer: return memory to kernel when stopping playback | Max Kellermann | 2 | -5/+28 | |
Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned. | |||||
2013-01-04 | HugeAllocator: new memory allocator | Max Kellermann | 2 | -0/+169 | |
2013-01-04 | SliceBuffer: lazy initialization | Max Kellermann | 1 | -13/+21 | |
Avoid page faults on MPD startup. This saves a lot of memory for an idle MPD. | |||||
2013-01-04 | MusicBuffer: move code to template class SliceBuffer | Max Kellermann | 2 | -60/+146 | |
2013-01-04 | MusicBuffer: allocate with new/delete | Max Kellermann | 1 | -30/+30 | |
2013-01-04 | MusicBuffer: disable memory poisoning | Max Kellermann | 1 | -4/+0 | |
This is harmful for memory usage, because it forces the kernel to allocate physical memory, even before playback has started. No bug has been found in a few years with this, so it's safe to assume that this code is not necessary. | |||||
2013-01-04 | Client, Inotify: use std::list instead of std::deque | Max Kellermann | 2 | -4/+4 | |
Random access is not necessary here. | |||||
2013-01-04 | crossfade: convert to C++ | Max Kellermann | 3 | -6/+6 | |
2013-01-04 | buffer, pipe: convert to C++ | Max Kellermann | 14 | -45/+36 | |
2013-01-04 | output_*: convert to C++ | Max Kellermann | 15 | -56/+79 | |
2013-01-04 | decoder_*: convert to C++ | Max Kellermann | 8 | -35/+44 | |
2013-01-04 | pcm_convert: make C++ safe | Max Kellermann | 1 | -1/+7 | |
2013-01-04 | CommandListBuilder: use std::list instead of GSList | Max Kellermann | 3 | -24/+16 | |
2013-01-04 | CommandListBuilder: rename attributes | Max Kellermann | 2 | -22/+35 | |