aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_volume.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio_format: remove the packed S24 formatMax Kellermann2012-03-221-1/+0
| | | | | | For simplicity, the MPD core should not have to deal with packing. It is rarely used, and those plugins that need it should use the pcm_export library instead.
* audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRSTMax Kellermann2012-03-211-1/+0
| | | | | This format is unused since the DSDIFF decoder plugin now reverses the bit order.
* audio_format: basic support for DSD-over-USBMax Kellermann2012-03-191-0/+1
|
* audio_format: add DSD sample formatMax Kellermann2012-03-011-0/+2
| | | | | Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support.
* pcm_volume: implement float samplesMax Kellermann2011-10-201-2/+13
|
* audio_format: basic support for floating point samplesMax Kellermann2011-10-201-0/+4
| | | | | Support for conversion from float to 16, 24 and 32 bit integer samples.
* pcm_volume: pass an "end" pointer instead of a sample countMax Kellermann2011-10-201-20/+13
|
* pcm_volume: remove "default" statementMax Kellermann2011-10-201-3/+9
| | | | Don't suppress gcc warnings.
* pcm_volume: "length" is a "size_t", not "int"Max Kellermann2011-10-201-1/+1
|
* pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann2011-10-101-2/+2
| | | | The other audio_format attributes are not used.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* pcm_volume: change old code to use format instead of bitsViliam Mateicka2009-12-031-1/+1
|
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-4/+4
| | | | | | This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
* pcm_volume: implemented 32 bit supportMax Kellermann2009-11-191-0/+28
| | | | Support 32 bit samples with software mixer.
* 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_volume: use #ifdef instead of #if __i386__Max Kellermann2009-03-141-2/+2
|
* all: Update copyright header.Avuton Olrich2009-03-131-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.
* fixing unused parameter warningViliam Mateicka2009-03-021-1/+1
|
* 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.