Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRST | Max Kellermann | 2012-03-21 | 1 | -4/+0 |
| | | | | | This format is unused since the DSDIFF decoder plugin now reverses the bit order. | ||||
* | audio_format: basic support for DSD-over-USB | Max Kellermann | 2012-03-19 | 1 | -0/+4 |
| | |||||
* | audio_format: add DSD sample format | Max Kellermann | 2012-03-01 | 1 | -0/+8 |
| | | | | | Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support. | ||||
* | pcm_format: implement conversion to float | Max Kellermann | 2011-10-20 | 1 | -0/+135 |
| | |||||
* | audio_format: basic support for floating point samples | Max Kellermann | 2011-10-20 | 1 | -0/+75 |
| | | | | | Support for conversion from float to 16, 24 and 32 bit integer samples. | ||||
* | pcm_format: move "case" code to separate functions | Max Kellermann | 2011-10-20 | 1 | -95/+166 |
| | | | | Reduce the mess with local variables inside switch{}. | ||||
* | pcm_*: add "restrict" keywords | Max Kellermann | 2011-10-20 | 1 | -2/+6 |
| | | | | Allow more compiler optimizations. | ||||
* | pcm_format: pass an "end" pointer instead of a sample count | Max Kellermann | 2011-10-19 | 1 | -58/+28 |
| | |||||
* | pcm_{channels,format}: add alignment assertions | Max Kellermann | 2011-10-19 | 1 | -0/+6 |
| | |||||
* | pcm_utils: add function pcm_end_pointer() | Max Kellermann | 2011-10-19 | 1 | -1/+2 |
| | |||||
* | pcm_dither: pass an "end" pointer instead of a sample count | Max Kellermann | 2011-10-10 | 1 | -9/+8 |
| | | | | | This is easier and more efficient to loop on, because only two variables get modified (src and dest). | ||||
* | pcm_pack: pass an "end" pointer instead of a sample count | Max Kellermann | 2011-10-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'v0.16.x' | Max Kellermann | 2011-09-15 | 1 | -2/+2 |
|\ | | | | | | | | | | | Conflicts: NEWS configure.ac | ||||
| * | pcm_format: fix 32-to-24 bit conversion (the "silence" bug) | Max Kellermann | 2011-09-08 | 1 | -2/+2 |
| | | | | | | | | | | | | D'oh, we were reading 16 bit integers instead of 32 bit integers! That caused silence when trying to play a 32 bit input file on a 24 bit sound card (e.g. USB sound chips with 24 bit packed samples). | ||||
* | | copyright year 2011 | Max Kellermann | 2011-01-29 | 1 | -1/+1 |
|/ | |||||
* | audio_format: support packed 24 bit samples | Max Kellermann | 2010-01-16 | 1 | -0/+41 |
| | |||||
* | Update copyright notices. | Avuton Olrich | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | audio_format: changed "bits" to "enum sample_format" | Max Kellermann | 2009-12-02 | 1 | -18/+27 |
| | | | | | | 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. | ||||
* | include config.h in all sources | Max Kellermann | 2009-11-12 | 1 | -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 handling | Max Kellermann | 2009-07-23 | 1 | -5/+0 |
| | | | | | Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years. | ||||
* | all: Update copyright header. | Avuton Olrich | 2009-03-13 | 1 | -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. | ||||
* | pcm_format: added conversion from 32 bit | Max Kellermann | 2009-03-02 | 1 | -0/+37 |
| | | | | | Support converting 32 bit samples to any other supported sample format. | ||||
* | pcm_format: added pcm_convert_to_32() | Max Kellermann | 2009-03-02 | 1 | -0/+75 |
| | | | | Added code to convert all other sample formats to 32 bit. | ||||
* | pcm_dither: renamed struct pcm_dither_24 to struct pcm_dither | Max Kellermann | 2009-03-02 | 1 | -2/+2 |
| | | | | | | There is nothing 24 bit specific in the pcm_dither_24 struct. Since we want to reuse the struct for 32 bit dithering, let's drop the "_24" suffix from the struct name. | ||||
* | pcm_format: use the pcm_buffer library | Max Kellermann | 2009-01-07 | 1 | -36/+23 |
| | | | | Replace a "static" buffer with the PCM buffer library. | ||||
* | pcm_format: pass struct pcm_dither_24 to pcm_convert_to_16() | Max Kellermann | 2009-01-07 | 1 | -3/+3 |
| | | | | The function does not need the full pcm_convert_state struct. | ||||
* | pcm_utils: moved code to pcm_format.c | Max Kellermann | 2009-01-07 | 1 | -0/+148 |
Moved all code which converts the sample format to a separate library. |