aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-07add missing includesMax Kellermann2-0/+2
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann4-6/+6
2013-08-03audio_format: convert to C++Max Kellermann11-165/+165
2013-08-03gcc.h: add macro gcc_unreachable()Max Kellermann2-6/+3
2013-08-01PcmBuffer: reset size in Clear()Max Kellermann1-0/+1
Fix for Mantis #3806. "PcmBuffer::Clear clears the buffer but does not reset the size. If Get is called on the same PcmBuffer later on with a size that is the same as (or less than) it was before the call to Clear, the "else" branch is taken and the memory of buffer (at the address of nullptr) is poisoned instead of the necessary allocation being performed. A memset or memcpy on the returned pointer (nullptr) causes a segmentation fault."
2013-07-30include cleanupMax Kellermann2-2/+0
2013-07-30pcm_buffer: convert to C++Max Kellermann19-225/+145
2013-07-30pcm_resample: convert to C++Max Kellermann8-315/+260
2013-07-30PcmConvert: don't memset() in the constructorMax Kellermann1-4/+2
This destroys data inside PcmDsd and other attributes. It was once necessary, but is not anymore.
2013-07-29pcm_dsd: convert to C++Max Kellermann7-62/+52
2013-04-09pcm_export: convert to C++Max Kellermann3-226/+198
2013-04-09pcm_*: move to src/pcm/Max Kellermann37-0/+4533