aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_buffer.h
Commit message (Collapse)AuthorAge
* {encoder,output}_api.h: allow compiling as C++Max Kellermann2013-01-30
|
* Merge branch 'v0.16.x'Max Kellermann2012-02-13
|\ | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/decoder/ffmpeg_decoder_plugin.c test/read_tags.c
| * pcm_buffer: pcm_buffer_get() never returns NULLMax Kellermann2012-02-13
| | | | | | | | | | | | 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.
* | pcm_buffer, output_plugin, ...: include config.hMax Kellermann2011-12-13
| |
* | Merge branch 'v0.16.x'Max Kellermann2011-11-28
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac src/encoder/flac_encoder.c src/log.c src/pcm_buffer.c
| * pcm_buffer: add assertionsMax Kellermann2011-11-27
| |
| * pcm_buffer: un-inline pcm_buffer_get()Max Kellermann2011-11-27
| | | | | | | | This method is too complex for inlining.
* | pcm_buffer: un-inline pcm_buffer_get()Max Kellermann2011-10-10
| | | | | | | | This function is too complex for being inlined everywhere.
* | copyright year 2011Max Kellermann2011-01-29
|/
* pcm_buffer: make the buffer pointer "void"Max Kellermann2010-06-30
|
* pcm_buffer: 8 kB alignment instead of 64 kBMax Kellermann2010-05-20
| | | | | | | | 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-31
|
* all: Update copyright header.Avuton Olrich2009-03-13
| | | | | | | | 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-17
| | | | | | 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-07
This library allocates temporary buffers for storing PCM conversion results. It should replace all those "static" buffer variables which are racy and never freed.