Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-03-27 | audio_format: remove SAMPLE_FORMAT_DSD_OVER_USB | Max Kellermann | 11 | -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. | |||||
2012-03-27 | output/alsa: support 32 bit DSD-over-USB | Max Kellermann | 1 | -4/+15 | |
2012-03-27 | pcm_export: implement 24 to 32 bit conversion | Max Kellermann | 4 | -4/+26 | |
For 32 bit DSD-over-USB support. | |||||
2012-03-27 | output/alsa: use pcm_export for the DSD-over-USB conversion | Max Kellermann | 1 | -11/+10 | |
2012-03-27 | pcm_export: support DSD to DSD-over-USB conversion | Max Kellermann | 4 | -10/+74 | |
Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB. | |||||
2012-03-27 | output/alsa: move pcm_export_open() to caller | Max Kellermann | 1 | -11/+16 | |
Give the caller more control, prepare for DSD-over-USB improvements. | |||||
2012-03-27 | pcm_export: support packing SAMPLE_FORMAT_DSD_OVER_USB | Max Kellermann | 1 | -1/+1 | |
It's a padded 24 bit format. | |||||
2012-03-27 | pcm_export: initialize the "pack" buffer | Max Kellermann | 1 | -0/+2 | |
2012-03-27 | pcm_export: fix API documentation | Max Kellermann | 1 | -3/+3 | |
2012-03-27 | output/alsa: more debug output | Max Kellermann | 1 | -0/+8 | |
2012-03-26 | Fix processing of sticker database path | Dan McGee | 1 | -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> | |||||
2012-03-22 | output/alsa: add option to enable DSD over USB | Max Kellermann | 1 | -1/+54 | |
2012-03-22 | pcm_dsd: implement DSD to 24 bit USB conversion | Max Kellermann | 3 | -0/+150 | |
Implements the dCS suggested standard: http://www.dcsltd.co.uk/page/assets/DSDoverUSB.pdf | |||||
2012-03-22 | playlist/soundcloud: libyajl2 uses size_t for string lengths | Max Kellermann | 1 | -2/+14 | |
Fixes build failure on 64 bit. | |||||
2012-03-22 | output/alsa: split the frame_size attribute | Max Kellermann | 1 | -6/+18 | |
Make it in_frame_size and out_frame_size, to account for packing. | |||||
2012-03-22 | audio_format: remove the packed S24 format | Max Kellermann | 14 | -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. | |||||
2012-03-22 | output/alsa: use pcm_export to pack 24 bit samples | Max Kellermann | 1 | -15/+48 | |
2012-03-22 | output/oss: use pcm_export to pack 24 bit samples | Max Kellermann | 1 | -10/+15 | |
2012-03-22 | pcm_export: add option "pack" | Max Kellermann | 4 | -4/+39 | |
Converts padded 24 bit samples to packed 24 bit samples. Will replace the packed S24 sample format, which is not used internally. | |||||
2012-03-22 | output/oss: remember the real OSS format | Max Kellermann | 1 | -5/+13 | |
Improving oss_reopen() by using the very same value that was used initially. | |||||
2012-03-22 | output/alsa: simplify setup_format() | Max Kellermann | 1 | -7/+4 | |
2012-03-22 | output/alsa: don't pass audio_format to _try_format() | Max Kellermann | 1 | -16/+13 | |
Let the caller configure the audio_format object. | |||||
2012-03-22 | output/alsa: simplify alsa_output_try_format_both() | Max Kellermann | 1 | -45/+18 | |
Merge three functions into one and call get_bitformat() only once. | |||||
2012-03-21 | output/oss: move code to oss_probe_sample_format() | Max Kellermann | 1 | -34/+59 | |
2012-03-21 | pcm_export: use the byte_reverse library directly | Max Kellermann | 4 | -152/+24 | |
Delete the now-unused pcm_byteswap library, and optimize the pcm_export_state object. | |||||
2012-03-21 | output/{alsa,oss}: move endian code to new library pcm_export | Max Kellermann | 4 | -61/+167 | |
2012-03-21 | pcm_pack: fix regression in unpack_sample() | Max Kellermann | 1 | -1/+1 | |
Should have been "==", not "!=". | |||||
2012-03-21 | audio_format: DSD_OVER_USB is padded to 32 bit | Max Kellermann | 1 | -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. | |||||
2012-03-21 | audio_format: remove the reverse_endian attribute | Max Kellermann | 13 | -110/+20 | |
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 | output/oss: always receive host byte order samples | Max Kellermann | 1 | -7/+68 | |
Don't use audio_format.reverse_endian. | |||||
2012-03-21 | output/alsa: always receive host byte order samples | Max Kellermann | 1 | -3/+61 | |
Don't use audio_format.reverse_endian. | |||||
2012-03-21 | decoder/pcm: always supply host byte order samples | Max Kellermann | 1 | -15/+12 | |
Don't use audio_format.reverse_endian. | |||||
2012-03-21 | pcm_byteswap: move code to libutil | Max Kellermann | 3 | -38/+199 | |
2012-03-21 | output/alsa: merge alsa_data_free() into destructor | Max Kellermann | 1 | -8/+3 | |
2012-03-21 | audio_format: hack for DSD to USB conversion | Max Kellermann | 1 | -0/+9 | |
Halve the sample rate for *:dsdusb:*. | |||||
2012-03-21 | Fix the build on OSX | Rich Healey | 1 | -0/+1 | |
2012-03-21 | audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRST | Max Kellermann | 11 | -36/+4 | |
This format is unused since the DSDIFF decoder plugin now reverses the bit order. | |||||
2012-03-21 | decoder/dsdiff: reverse bits to most significant bit first | Max Kellermann | 1 | -6/+15 | |
Allow to remove this complexity from the MPD core. | |||||
2012-03-21 | dsd2pcm: move the bit reversing code to a generic library | Max Kellermann | 3 | -8/+70 | |
Instead of doing run-time initialisation, use a constant lookup table. | |||||
2012-03-19 | audio_format: basic support for DSD-over-USB | Max Kellermann | 11 | -0/+30 | |
2012-03-19 | playlist/soundcloud: support libyajl2 | Robert Vollmert | 1 | -5/+21 | |
[mk: backwars compatibility and autoconf check] | |||||
2012-03-19 | text_input_stream: detect end-of-file | Max Kellermann | 1 | -2/+17 | |
Fixes endless loop when the last line of a text file was not terminated (bug 3470). | |||||
2012-03-19 | util/list: allow typeof() with clang | Max Kellermann | 1 | -0/+5 | |
2012-03-19 | event_pipe, test: explicitly ignore write() return value | Max Kellermann | 1 | -1/+2 | |
Some compilers are very picky, but we really aren't interested in the return value. | |||||
2012-03-06 | command: read arbitrary local files with "lsinfo" | Max Kellermann | 1 | -1/+22 | |
Requires UNIX domain socket connection. | |||||
2012-03-06 | client_file: always allow access if client uid equals mpd uid | Max Kellermann | 1 | -0/+5 | |
2012-03-06 | playlist_edit: move UID check to client_allow_file() | Max Kellermann | 5 | -39/+129 | |
2012-03-06 | command, ack: add ack_quark() | Max Kellermann | 2 | -0/+16 | |
To pass ack values around. | |||||
2012-03-06 | use g_strerror() instead of strerror() | Max Kellermann | 10 | -26/+27 | |
Make sure we get a UTF-8 encoded string. | |||||
2012-03-06 | command: fix the "DENIED" ACK code | Max Kellermann | 1 | -1/+1 | |
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST. |