aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MusicBuffer: return memory to kernel when stopping playbackMax Kellermann2013-01-041-4/+23
| | | | | Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned.
* HugeAllocator: new memory allocatorMax Kellermann2013-01-042-0/+169
|
* SliceBuffer: lazy initializationMax Kellermann2013-01-041-13/+21
| | | | | Avoid page faults on MPD startup. This saves a lot of memory for an idle MPD.
* MusicBuffer: move code to template class SliceBufferMax Kellermann2013-01-041-0/+134
|
* gcc.h: re-add gcc_const and gcc_pureMax Kellermann2012-08-021-2/+3
| | | | Remove GLib dependency from some headers.
* util/list: make safe for C++Max Kellermann2012-08-011-24/+25
|
* pcm_byteswap: move code to libutilMax Kellermann2012-03-212-0/+178
|
* dsd2pcm: move the bit reversing code to a generic libraryMax Kellermann2012-03-212-0/+66
| | | | Instead of doing run-time initialisation, use a constant lookup table.
* util/list: allow typeof() with clangMax Kellermann2012-03-191-0/+5
|
* util/list.h: import the Linux kernel's linked list libraryMax Kellermann2012-01-243-0/+798