aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicBuffer.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-1/+1
|
* FatalError: new library to replace mpd_error.hMax Kellermann2013-08-071-2/+2
|
* Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann2013-01-041-16/+6
|
* MusicBuffer: return memory to kernel when stopping playbackMax Kellermann2013-01-041-1/+5
| | | | | Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned.
* MusicBuffer: move code to template class SliceBufferMax Kellermann2013-01-041-60/+12
|
* MusicBuffer: allocate with new/deleteMax Kellermann2013-01-041-30/+30
|
* MusicBuffer: disable memory poisoningMax Kellermann2013-01-041-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.
* buffer, pipe: convert to C++Max Kellermann2013-01-041-0/+137