summaryrefslogtreecommitdiff
path: root/src/MusicBuffer.cxx
AgeCommit message (Collapse)Author
2018-09-21MusicBuffer: remove `noexcept` from constructorMax Kellermann
The `SliceBuffer` constructor can throw.
2018-06-23MusicBuffer: fix potential deadlock while cross-fading in Return()Max Kellermann
2018-06-22MusicChunkPtr: managed MusicChunk pointerMax Kellermann
Make all uses of MusicChunk safe.
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-03update copyright yearMax Kellermann
2017-01-03thread/Mutex: remove ScopeLock, use std::lock_guard directlyMax Kellermann
2016-06-17util/HugeAllocator: throw std::bad_alloc on errorMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-08-12MusicChunk: rename struct to MusicChunkMax Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-09-26MusicBuffer: expose the C++ APIMax Kellermann
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann
2013-08-07FatalError: new library to replace mpd_error.hMax Kellermann
2013-01-04Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann
2013-01-04MusicBuffer: return memory to kernel when stopping playbackMax Kellermann
Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned.
2013-01-04MusicBuffer: move code to template class SliceBufferMax Kellermann
2013-01-04MusicBuffer: allocate with new/deleteMax Kellermann
2013-01-04MusicBuffer: disable memory poisoningMax Kellermann
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-04buffer, pipe: convert to C++Max Kellermann