aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmChannels.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-28*: use nullptr instead of NULLMax Kellermann1-4/+4
2013-10-15gcc.h: major updateMax Kellermann1-18/+18
Copy the according file from another project (i.e. XCSoar). This will allow copying more code more easily.
2013-07-30pcm_buffer: convert to C++Max Kellermann1-9/+9
2013-04-09pcm_*: move to src/pcm/Max Kellermann1-0/+0
2013-02-01PcmChannels: merge duplicate code with a templateMax Kellermann1-38/+9
2013-01-31pcm_*: convert to C++Max Kellermann1-10/+12
2012-10-02pcm_channels: support floating point samplesMax Kellermann1-0/+71
2011-10-20pcm_*: add "restrict" keywordsMax Kellermann1-16/+23
Allow more compiler optimizations.
2011-10-19pcm_channels: pass an "end" pointer instead of a sample countMax Kellermann1-39/+40
2011-10-19pcm_{channels,resample}: pass channel count as integer, not uint8_tMax Kellermann1-6/+6
Reduces number of implicit integer conversions.
2011-10-19pcm_{channels,format}: add alignment assertionsMax Kellermann1-0/+6
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-0/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-07-23pcm_convert: use GError for error handlingMax Kellermann1-17/+3
Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years.
2009-07-22pcm_channels: num_channels is unsignedMax Kellermann1-6/+6
You cannot have a negative number of channels, let's pass it as uint8_t instead of int8_t.
2009-03-13all: Update copyright header.Avuton Olrich1-6/+7
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.
2009-03-02pcm_channels: added implementation for 32 bit samplesMax Kellermann1-0/+69
Some 24 bit code can be reused. The 32 bit variant has to use 64 bit integers, because 32 bit integers could overflow. This may be a performance hit on 32 bit CPUs.
2009-01-07pcm_channels: use pcm_bufferMax Kellermann1-24/+15
Replace a "static" buffer with the PCM buffer library.
2009-01-03pcm: use GLib instead of utils.hMax Kellermann1-3/+2
2008-12-29pcm: use GLib loggingMax Kellermann1-5/+9
2008-10-23pcm_channels: added 24 bit implementationsMax Kellermann1-0/+79
The 24 bit implementation is mostly copy'n'paste of the 16 bit version, except that the data type is int32_t instead of int16_t.
2008-10-23pcm_utils: moved channel conversion functions to pcm_channels.cMax Kellermann1-0/+102
Separate code from pcm_utils.c to keep it small and simple.