aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for DSD-over-USB version 1.0, remove pre-v1 supportJurgen Kramer2012-04-043-9/+33
|
* db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warningMax Kellermann2012-04-042-0/+11
|
* input/curl: use g_source_get_time()Max Kellermann2012-04-042-12/+17
| | | | | g_source_get_current_time() is deprecated since GLib 2.28. This patch adds a compatibility wrapper for older GLib versions to glib_compat.h.
* audio_format: remove SAMPLE_FORMAT_DSD_OVER_USBMax Kellermann2012-03-2711-74/+1
| | | | | | | 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.
* output/alsa: support 32 bit DSD-over-USBMax Kellermann2012-03-271-4/+15
|
* pcm_export: implement 24 to 32 bit conversionMax Kellermann2012-03-274-4/+26
| | | | For 32 bit DSD-over-USB support.
* output/alsa: use pcm_export for the DSD-over-USB conversionMax Kellermann2012-03-271-11/+10
|
* pcm_export: support DSD to DSD-over-USB conversionMax Kellermann2012-03-274-10/+74
| | | | Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB.
* output/alsa: move pcm_export_open() to callerMax Kellermann2012-03-271-11/+16
| | | | Give the caller more control, prepare for DSD-over-USB improvements.
* pcm_export: support packing SAMPLE_FORMAT_DSD_OVER_USBMax Kellermann2012-03-271-1/+1
| | | | It's a padded 24 bit format.
* pcm_export: initialize the "pack" bufferMax Kellermann2012-03-271-0/+2
|
* pcm_export: fix API documentationMax Kellermann2012-03-271-3/+3
|
* output/alsa: more debug outputMax Kellermann2012-03-271-0/+8
|
* Fix processing of sticker database pathDan McGee2012-03-261-2/+1
| | | | | | | | | After a previous refactor, the current code fails on paths that need expansion (e.g, '~/.mpd/sticker.db'), because we are not passing the correct path to the sticker database code. Pass the expanded (and previously unused) string instead of the original string. Signed-off-by: Dan McGee <dan@archlinux.org>
* output/alsa: add option to enable DSD over USBMax Kellermann2012-03-223-1/+72
|
* pcm_dsd: implement DSD to 24 bit USB conversionMax Kellermann2012-03-224-0/+151
| | | | | | Implements the dCS suggested standard: http://www.dcsltd.co.uk/page/assets/DSDoverUSB.pdf
* playlist/soundcloud: libyajl2 uses size_t for string lengthsMax Kellermann2012-03-221-2/+14
| | | | Fixes build failure on 64 bit.
* output/alsa: split the frame_size attributeMax Kellermann2012-03-221-6/+18
| | | | Make it in_frame_size and out_frame_size, to account for packing.
* audio_format: remove the packed S24 formatMax Kellermann2012-03-2214-155/+4
| | | | | | 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.
* output/alsa: use pcm_export to pack 24 bit samplesMax Kellermann2012-03-221-15/+48
|
* output/oss: use pcm_export to pack 24 bit samplesMax Kellermann2012-03-221-10/+15
|
* pcm_export: add option "pack"Max Kellermann2012-03-224-4/+39
| | | | | Converts padded 24 bit samples to packed 24 bit samples. Will replace the packed S24 sample format, which is not used internally.
* output/oss: remember the real OSS formatMax Kellermann2012-03-221-5/+13
| | | | | Improving oss_reopen() by using the very same value that was used initially.
* output/alsa: simplify setup_format()Max Kellermann2012-03-221-7/+4
|
* output/alsa: don't pass audio_format to _try_format()Max Kellermann2012-03-221-16/+13
| | | | Let the caller configure the audio_format object.
* output/alsa: simplify alsa_output_try_format_both()Max Kellermann2012-03-221-45/+18
| | | | Merge three functions into one and call get_bitformat() only once.
* output/oss: move code to oss_probe_sample_format()Max Kellermann2012-03-211-34/+59
|
* pcm_export: use the byte_reverse library directlyMax Kellermann2012-03-218-226/+24
| | | | | Delete the now-unused pcm_byteswap library, and optimize the pcm_export_state object.
* output/{alsa,oss}: move endian code to new library pcm_exportMax Kellermann2012-03-215-61/+168
|
* pcm_pack: fix regression in unpack_sample()Max Kellermann2012-03-211-1/+1
| | | | Should have been "==", not "!=".
* audio_format: DSD_OVER_USB is padded to 32 bitMax Kellermann2012-03-211-3/+3
| | | | | | For simplicity, pad the dCS samples to 32 bit. Packed 24 bit samples are rarely used. This patch does not include a real code change, because there is no user of DSD_OVER_USB yet.
* audio_format: remove the reverse_endian attributeMax Kellermann2012-03-2114-112/+22
| | | | | | 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).
* output/oss: always receive host byte order samplesMax Kellermann2012-03-211-7/+68
| | | | Don't use audio_format.reverse_endian.
* output/alsa: always receive host byte order samplesMax Kellermann2012-03-212-3/+62
| | | | Don't use audio_format.reverse_endian.
* decoder/pcm: always supply host byte order samplesMax Kellermann2012-03-211-15/+12
| | | | Don't use audio_format.reverse_endian.
* test: add unit test for util/byte_reverse.cMax Kellermann2012-03-213-0/+94
|
* pcm_byteswap: move code to libutilMax Kellermann2012-03-214-38/+201
|
* Makefile.am: link src/util/*.c into libutil.aMax Kellermann2012-03-211-8/+14
|
* output/alsa: merge alsa_data_free() into destructorMax Kellermann2012-03-211-8/+3
|
* audio_format: hack for DSD to USB conversionMax Kellermann2012-03-211-0/+9
| | | | Halve the sample rate for *:dsdusb:*.
* test/run_convert: allow the out format to be a maskMax Kellermann2012-03-211-2/+6
|
* Fix the build on OSXRich Healey2012-03-211-0/+1
|
* audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRSTMax Kellermann2012-03-2111-36/+4
| | | | | This format is unused since the DSDIFF decoder plugin now reverses the bit order.
* decoder/dsdiff: reverse bits to most significant bit firstMax Kellermann2012-03-212-6/+18
| | | | Allow to remove this complexity from the MPD core.
* dsd2pcm: move the bit reversing code to a generic libraryMax Kellermann2012-03-214-8/+73
| | | | Instead of doing run-time initialisation, use a constant lookup table.
* audio_format: basic support for DSD-over-USBMax Kellermann2012-03-1911-0/+30
|
* playlist/soundcloud: support libyajl2Robert Vollmert2012-03-193-8/+27
| | | | [mk: backwars compatibility and autoconf check]
* text_input_stream: detect end-of-fileMax Kellermann2012-03-191-2/+17
| | | | | Fixes endless loop when the last line of a text file was not terminated (bug 3470).
* test/dump_text_file: debug program for text_input_stream.cMax Kellermann2012-03-192-0/+185
|
* test/run_input: use input_stream_*lock()Max Kellermann2012-03-191-4/+4
|