aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-11-22PcmResampleLibsamplerate: clip 24 bit dataMax Kellermann3-2/+47
Using pcm_resample_lsr_32() for 24 bit samples works, but may cause 24 bit overflows. This commit makes 24 bit a special case with explicit clipping.
2013-11-22PcmResample: un-inline Resample24()Max Kellermann2-7/+13
2013-11-22PcmUtils: add function PcmClampN()Max Kellermann1-0/+12
2013-10-30*: update copyright year to 2013Max Kellermann5-5/+5
2013-10-30PcmMix: use negative value instead of NaN for additionMax Kellermann2-4/+5
Avoid NaN to allow -ffast-math.
2013-10-28*: use nullptr instead of NULLMax Kellermann6-41/+42
2013-10-28PcmFormat: move definitions to struct SampleTraitsMax Kellermann1-36/+81
2013-10-21Util/ASCII: add StringEqualsCaseASCII() overload with lengthMax Kellermann1-3/+2
Replaces GLib's g_ascii_strncasecmp().
2013-10-16system/ByteOrder: new library for byte ordering / endianessMax Kellermann1-5/+4
Replacing GLib macros.
2013-10-16util/byte_reverse: convert to C++Max Kellermann1-4/+1
2013-10-16pcm_pack: convert to C++Max Kellermann5-9/+6
2013-10-15Client, ...: remove unnecessary glib.h includeMax Kellermann2-4/+0
2013-10-15Util/Macros: replacement for GLib's G_N_ELEMENTS()Max Kellermann1-6/+5
2013-10-15gcc.h: rename to Compiler.hMax Kellermann3-3/+3
2013-10-15gcc.h: major updateMax Kellermann2-24/+24
Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily.
2013-10-02Log: new logging library APIMax Kellermann3-13/+7
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-05conf.h: remove obsolete headerMax Kellermann2-2/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann6-103/+102
Replaces GLib's GError.
2013-08-07PcmBuffer: move code to new class ReusableBufferMax Kellermann5-44/+10
ReusableBuffer is more generic.
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