Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pcm/PcmBuffer: add typed method GetT() | Max Kellermann | 2013-12-02 | 1 | -0/+6 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 1 | -3/+4 |
| | |||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 1 | -1/+1 |
| | |||||
* | PcmBuffer: move code to new class ReusableBuffer | Max Kellermann | 2013-08-07 | 1 | -17/+6 |
| | | | | ReusableBuffer is more generic. | ||||
* | PcmBuffer: reset size in Clear() | Max Kellermann | 2013-08-01 | 1 | -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." | ||||
* | pcm_buffer: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -0/+63 |