aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_buffer.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm_buffer: add assertionsMax Kellermann2011-11-271-0/+6
|
* pcm_buffer: un-inline pcm_buffer_get()Max Kellermann2011-11-271-14/+3
| | | | This method is too complex for inlining.
* pcm_buffer: make the buffer pointer "void"Max Kellermann2010-06-301-1/+1
|
* pcm_buffer: 8 kB alignment instead of 64 kBMax Kellermann2010-05-201-2/+2
| | | | | | | | Reduce the overhead. Most buffers used by MPD are around 2 to 4 kB. 8 kB seems large enough to keep heap fragmentation low. Additionally, this patch fixes an off-by-one error in the alignment formula.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* all: Update copyright header.Avuton Olrich2009-03-131-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.
* pcm_buffer: set size after allocationMax Kellermann2009-02-171-1/+2
| | | | | | When I implemented the pcm_buffer library, I forgot to set the new buffer size. This caused a new allocation in each pcm_buffer_get(), fortunately no memory was leaked.
* pcm_buffer: new library for temporary buffersMax Kellermann2009-01-071-0/+74
This library allocates temporary buffers for storing PCM conversion results. It should replace all those "static" buffer variables which are racy and never freed.