aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_channels.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* include config.h in all sourcesMax Kellermann2009-11-121-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.
* pcm_convert: use GError for error handlingMax Kellermann2009-07-231-17/+3
| | | | | Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years.
* pcm_channels: num_channels is unsignedMax Kellermann2009-07-221-6/+6
| | | | | You cannot have a negative number of channels, let's pass it as uint8_t instead of int8_t.
* all: Update copyright header.Avuton Olrich2009-03-131-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.
* pcm_channels: added implementation for 32 bit samplesMax Kellermann2009-03-021-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.
* pcm_channels: use pcm_bufferMax Kellermann2009-01-071-24/+15
| | | | Replace a "static" buffer with the PCM buffer library.
* pcm: use GLib instead of utils.hMax Kellermann2009-01-031-3/+2
|
* pcm: use GLib loggingMax Kellermann2008-12-291-5/+9
|
* pcm_channels: added 24 bit implementationsMax Kellermann2008-10-231-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.
* pcm_utils: moved channel conversion functions to pcm_channels.cMax Kellermann2008-10-231-0/+102
Separate code from pcm_utils.c to keep it small and simple.