aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_channels.c (unfollow)
Commit message (Collapse)AuthorFilesLines
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.