Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -50/+54 | |
Replaces GLib's GError. | |||||
2013-08-03 | audio_format: convert to C++ | Max Kellermann | 1 | -71/+71 | |
2013-07-30 | pcm_buffer: convert to C++ | Max Kellermann | 1 | -12/+8 | |
2013-07-30 | pcm_resample: convert to C++ | Max Kellermann | 1 | -26/+18 | |
2013-07-30 | PcmConvert: don't memset() in the constructor | Max Kellermann | 1 | -4/+2 | |
This destroys data inside PcmDsd and other attributes. It was once necessary, but is not anymore. | |||||
2013-07-29 | pcm_dsd: convert to C++ | Max Kellermann | 1 | -7/+4 | |
2013-04-09 | pcm_*: move to src/pcm/ | Max Kellermann | 1 | -0/+0 | |
2013-01-31 | PcmDither: convert struct to a class | Max Kellermann | 1 | -2/+1 | |
2013-01-31 | pcm_*: convert to C++ | Max Kellermann | 1 | -6/+2 | |
2013-01-31 | pcm_convert: convert to C++ | Max Kellermann | 1 | -86/+84 | |
2013-01-29 | require GLib 2.24 | Max Kellermann | 1 | -1/+0 | |
2012-10-02 | pcm_channels: support floating point samples | Max Kellermann | 1 | -62/+17 | |
2012-03-27 | audio_format: remove SAMPLE_FORMAT_DSD_OVER_USB | Max Kellermann | 1 | -36/+0 | |
DSD-over-USB should not be a MPD core format, because it is not a "natural" format; it is just a temnporary over-the-wire format. This format has been implemented in pcm_export, and does not need to be supported by pcm_convert. | |||||
2012-03-22 | pcm_dsd: implement DSD to 24 bit USB conversion | Max Kellermann | 1 | -0/+35 | |
Implements the dCS suggested standard: http://www.dcsltd.co.uk/page/assets/DSDoverUSB.pdf | |||||
2012-03-22 | audio_format: remove the packed S24 format | Max Kellermann | 1 | -48/+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. | |||||
2012-03-21 | audio_format: remove the reverse_endian attribute | Max Kellermann | 1 | -40/+1 | |
Eliminate support for reverse endian samples from the MPD core. This moves a lot of complexity to the plugins that really need it (only ALSA and CDIO currently). | |||||
2012-03-21 | audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRST | Max Kellermann | 1 | -6/+2 | |
This format is unused since the DSDIFF decoder plugin now reverses the bit order. | |||||
2012-03-19 | audio_format: basic support for DSD-over-USB | Max Kellermann | 1 | -0/+1 | |
2012-03-01 | pcm_convert: support the DSD format | Max Kellermann | 1 | -0/+27 | |
2012-03-01 | audio_format: add DSD sample format | Max Kellermann | 1 | -0/+2 | |
Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support. | |||||
2012-03-01 | pcm_convert: add method _reset() | Max Kellermann | 1 | -0/+6 | |
Resets the libsamplerate state. Not being used yet. | |||||
2011-10-20 | pcm_format: implement conversion to float | Max Kellermann | 1 | -1/+68 | |
2011-10-20 | pcm_convert: add function pcm_convert_channels() | Max Kellermann | 1 | -0/+50 | |
For future internal use. | |||||
2011-10-10 | pcm_pack: pass an "end" pointer instead of a sample count | Max Kellermann | 1 | -1/+2 | |
2011-10-10 | pcm_convert: support reverse endian input | Max Kellermann | 1 | -0/+14 | |
2011-10-08 | pcm_convert: fix typo in error message | Max Kellermann | 1 | -1/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-01-16 | audio_format: support packed 24 bit samples | Max Kellermann | 1 | -0/+48 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-02 | audio_format: changed "bits" to "enum sample_format" | Max Kellermann | 1 | -18/+18 | |
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. | |||||
2009-11-12 | include config.h in all sources | Max Kellermann | 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. | |||||
2009-07-23 | pcm_convert: use GError for error handling | Max Kellermann | 1 | -32/+77 | |
Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years. | |||||
2009-07-22 | pcm_byteswap: converted NULL checks to assertions | Max Kellermann | 1 | -6/+3 | |
It is illegal to pass a NULL buffer to pcm_byteswap_X(). The result of this is that pcm_byteswap_X() never returns NULL. | |||||
2009-07-22 | pcm_convert: added pcm_convert_state.byteswap_buffer | Max Kellermann | 1 | -3/+5 | |
Currently, byteswapping is performed on the format_buffer. This can go wrong when this buffer is used twice during one run. Add a separate buffer for swapping the byte order. | |||||
2009-07-19 | Add reverse_endian field to struct audio_format and handle conversion | David Woodhouse | 1 | -0/+19 | |
2009-03-14 | pcm_convert: return NULL on failure | Max Kellermann | 1 | -1/+1 | |
Changed "0" to "NULL". | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 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. | |||||
2009-03-02 | pcm_convert: added 32 bit support | Max Kellermann | 1 | -0/+42 | |
All PCM sub libraries have 32 bit support now. Add support to the glue function pcm_convert(). | |||||
2009-02-17 | pcm_convert: removed pcm_convert_size() | Max Kellermann | 1 | -17/+0 | |
The function is unused, since we added the pcm_buffer library. | |||||
2009-01-17 | pcm_convert: return PCM buffer from pcm_convert() | Max Kellermann | 1 | -29/+27 | |
Removed yet another superfluous buffer layer: return the PCM buffer from pcm_convert() instead of copying PCM data into the caller-supplied buffer. | |||||
2009-01-15 | log, pcm_convert: added return statements after g_error() | Max Kellermann | 1 | -0/+1 | |
gcc doesn't know that g_error() never returns. Work around the gcc warning. | |||||
2009-01-15 | pcm_convert: removed unused variable "dest_size" | Max Kellermann | 1 | -4/+2 | |
dest_size is only used in an assertion. Remove its declaration and move the formula into the assertion. | |||||
2009-01-08 | pcm_resample: use pcm_buffer (1/2) | Max Kellermann | 1 | -16/+14 | |
Return a temporary buffer from pcm_resample_*() and pcm_convert(). | |||||
2009-01-07 | pcm_channels: use pcm_buffer | Max Kellermann | 1 | -2/+6 | |
Replace a "static" buffer with the PCM buffer library. | |||||
2009-01-07 | pcm_format: use the pcm_buffer library | Max Kellermann | 1 | -3/+8 | |
Replace a "static" buffer with the PCM buffer library. | |||||
2009-01-07 | pcm: added pcm_convert_deinit(), pcm_resample_deinit() | Max Kellermann | 1 | -0/+5 | |
Free memory allocated by libsamplerate when the output or the decoder is closed. | |||||
2009-01-07 | pcm: pass void pointers to PCM functions | Max Kellermann | 1 | -5/+4 | |
In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer. | |||||
2009-01-07 | pcm_utils: moved conversion code to pcm_convert.c | Max Kellermann | 1 | -5/+4 | |
All what's left in pcm_utils.h is the pcm_range() utility function, which is only used internally by pcm_volume and pcm_mix. | |||||
2009-01-07 | pcm_format: pass struct pcm_dither_24 to pcm_convert_to_16() | Max Kellermann | 1 | -1/+1 | |
The function does not need the full pcm_convert_state struct. | |||||
2009-01-07 | pcm_utils: moved code to pcm_format.c | Max Kellermann | 1 | -126/+1 | |
Moved all code which converts the sample format to a separate library. |