aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_volume.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm_volume: return boolMax Kellermann2009-03-021-8/+7
| | | | Don't abort MPD when a sample format is not supported by pcm_volume().
* pcm_volume: no CamelCaseMax Kellermann2009-03-011-5/+5
|
* pcm_volume: optimized pcm_volume_change_24() on i386Max Kellermann2009-02-181-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.
* pcm: pass void pointers to PCM functionsMax Kellermann2009-01-071-1/+1
| | | | | In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
* pcm_volume: rename pcm_dither() to pcm_volume_dither()Max Kellermann2009-01-071-3/+6
|
* pcm_utils: moved code to pcm_volume.cMax Kellermann2009-01-071-0/+105
Moved the software volume code to a separate library.