aboutsummaryrefslogtreecommitdiffstats
path: root/src/MusicBuffer.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-12MusicChunk: rename struct to MusicChunkMax Kellermann1-2/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-09-26MusicBuffer: expose the C++ APIMax Kellermann1-39/+13
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-1/+1
2013-08-07FatalError: new library to replace mpd_error.hMax Kellermann1-2/+2
2013-01-04Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann1-16/+6
2013-01-04MusicBuffer: return memory to kernel when stopping playbackMax Kellermann1-1/+5
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 Kellermann1-60/+12
2013-01-04MusicBuffer: allocate with new/deleteMax Kellermann1-30/+30
2013-01-04MusicBuffer: disable memory poisoningMax Kellermann1-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-04buffer, pipe: convert to C++Max Kellermann1-3/+3
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-05-02chunk: added attribute "other"Max Kellermann1-0/+3
Preparation for cross-fading support in the output thread.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-03-13all: Update copyright header.Avuton Olrich1-3/+4
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-03-09music_buffer: poison unallocated chunksMax Kellermann1-0/+5
When a music chunk is freed (returned to the buffer), poison its memory.
2009-03-06pipe: added music_buffer, rewrite music_pipeMax Kellermann1-0/+127
Turn the music_pipe into a simple music_chunk queue. The music_chunk allocation code is moved to music_buffer, and is now managed with a linked list instead of a ring buffer. Two separate music_pipe objects are used by the decoder for the "current" and the "next" song, which greatly simplifies the cross-fading code.