aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_buffer.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-13pcm_buffer: pcm_buffer_get() never returns NULLMax Kellermann1-0/+4
This fixes a bug when libsamplerate returns an empty buffer for a very small input buffer. The caller thinks this is an error, bug there is no GError object.
2011-11-27pcm_buffer: add assertionsMax Kellermann1-0/+6
2011-11-27pcm_buffer: un-inline pcm_buffer_get()Max Kellermann1-14/+3
This method is too complex for inlining.
2010-06-30pcm_buffer: make the buffer pointer "void"Max Kellermann1-1/+1
2010-06-30pcm_buffer: make the buffer pointer "void"Max Kellermann1-1/+1
2010-05-20pcm_buffer: 8 kB alignment instead of 64 kBMax Kellermann1-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.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
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-02-17pcm_buffer: set size after allocationMax Kellermann1-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.
2009-01-07pcm_buffer: new library for temporary buffersMax Kellermann1-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.