aboutsummaryrefslogtreecommitdiff
path: root/src/MusicBuffer.cxx
Commit message (Collapse)AuthorAge
* Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann2013-01-04
|
* MusicBuffer: return memory to kernel when stopping playbackMax Kellermann2013-01-04
| | | | | 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-04
|
* MusicBuffer: allocate with new/deleteMax Kellermann2013-01-04
|
* MusicBuffer: disable memory poisoningMax Kellermann2013-01-04
| | | | | | | 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-04