aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_volume.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-14pcm_volume: use #ifdef instead of #if __i386__Max Kellermann1-2/+2
2009-03-13all: Update copyright header.Avuton Olrich1-3/+4
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-02fixing unused parameter warningViliam Mateicka1-1/+1
2009-03-02pcm_volume: return boolMax Kellermann1-8/+7
Don't abort MPD when a sample format is not supported by pcm_volume().
2009-03-01pcm_volume: no CamelCaseMax Kellermann1-5/+5
2009-02-18pcm_volume: optimized pcm_volume_change_24() on i386Max Kellermann1-1/+40
Added an inline assembly function for the 64 bit multiplication. Benchmark results on a Pentium II 266 MHz, 512 MB of 24 bit PCM data: dd if=/dev/zero bs=64k count=8k | time ./test/software_volume 48000:24:2 >/dev/null Before this patch 22.94s, after this patch 7.24s.
2009-01-07pcm: pass void pointers to PCM functionsMax Kellermann1-1/+1
In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
2009-01-07pcm_volume: rename pcm_dither() to pcm_volume_dither()Max Kellermann1-3/+6
2009-01-07pcm_utils: moved code to pcm_volume.cMax Kellermann1-0/+105
Moved the software volume code to a separate library.