aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-05encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann6-4/+42
Add the encoder_plugin method end(). This is important for the recorder plugin.
2012-04-05encoder_plugin: add state assertionsMax Kellermann1-2/+61
2012-04-04encoder/vorbis: generate end-of-stream packet before tagMax Kellermann1-2/+0
Don't reset the ogg_stream_state object, because this discards the end-of-stream packet that was just added.
2012-04-04output/jack: check for connection failure before starting playbackMax Kellermann1-0/+3
2012-04-04output/jack: workaround for libjack1 crash bugMax Kellermann1-0/+13
2012-04-04Add support for DSD-over-USB version 1.0, remove pre-v1 supportJurgen Kramer2-7/+31
2012-04-04db_lock, archive/bz2, ...: workaround for G_STATIC_MUTEX_INIT warningMax Kellermann2-0/+11
2012-04-04input/curl: use g_source_get_time()Max Kellermann2-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.
2012-04-04directory: use strrchr() instead of g_basename()Max Kellermann1-1/+9
g_basename() is deprecated in GLib 2.32.
2012-04-04uri: remove g_basename() call from uri_get_suffix()Max Kellermann1-2/+2
g_basename() is deprecated in GLib 2.32. Instead, verify that the suffix does not have a backslash, to catch Windows path names.
2012-04-04update: properly skip symlinks in path that is to be updated.Anton Khirnov1-1/+5
2012-03-28output/osx: use the fifo_buffer library instead of rolling ownMax Kellermann1-56/+37
The existing buffer implementation has a major flaw: it is unable to re-fill the buffer until it has been consumed completely, leading to many occasions where the render callback needs to generate silence, just because the play() implementation was unable to append more data. The fifo_buffer library handles that well.
2012-03-27audio_format: remove SAMPLE_FORMAT_DSD_OVER_USBMax Kellermann11-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-27output/alsa: support 32 bit DSD-over-USBMax Kellermann1-4/+15
2012-03-27pcm_export: implement 24 to 32 bit conversionMax Kellermann4-4/+26
For 32 bit DSD-over-USB support.
2012-03-27output/alsa: use pcm_export for the DSD-over-USB conversionMax Kellermann1-11/+10
2012-03-27pcm_export: support DSD to DSD-over-USB conversionMax Kellermann4-10/+74
Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB.
2012-03-27output/alsa: move pcm_export_open() to callerMax Kellermann1-11/+16
Give the caller more control, prepare for DSD-over-USB improvements.
2012-03-27pcm_export: support packing SAMPLE_FORMAT_DSD_OVER_USBMax Kellermann1-1/+1
It's a padded 24 bit format.
2012-03-27pcm_export: initialize the "pack" bufferMax Kellermann1-0/+2
2012-03-27pcm_export: fix API documentationMax Kellermann1-3/+3
2012-03-27output/alsa: more debug outputMax Kellermann1-0/+8
2012-03-26Use g_message and not g_debug when removing songDan McGee1-1/+1
When adding or updating a song, we get a log message even if debug is not enabled. It seems odd that removing a song shouldn't be done at the same log level; otherwise looking at the log leads you to believe songs are never removed from the library on update. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-26Fix processing of sticker database pathDan McGee1-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-22output/alsa: add option to enable DSD over USBMax Kellermann1-1/+54
2012-03-22pcm_dsd: implement DSD to 24 bit USB conversionMax Kellermann3-0/+150
Implements the dCS suggested standard: http://www.dcsltd.co.uk/page/assets/DSDoverUSB.pdf
2012-03-22playlist/soundcloud: libyajl2 uses size_t for string lengthsMax Kellermann1-2/+14
Fixes build failure on 64 bit.
2012-03-22output/alsa: split the frame_size attributeMax Kellermann1-6/+18
Make it in_frame_size and out_frame_size, to account for packing.
2012-03-22audio_format: remove the packed S24 formatMax Kellermann14-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-22output/alsa: use pcm_export to pack 24 bit samplesMax Kellermann1-15/+48
2012-03-22output/oss: use pcm_export to pack 24 bit samplesMax Kellermann1-10/+15
2012-03-22pcm_export: add option "pack"Max Kellermann4-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-22output/oss: remember the real OSS formatMax Kellermann1-5/+13
Improving oss_reopen() by using the very same value that was used initially.
2012-03-22output/alsa: simplify setup_format()Max Kellermann1-7/+4
2012-03-22output/alsa: don't pass audio_format to _try_format()Max Kellermann1-16/+13
Let the caller configure the audio_format object.
2012-03-22output/alsa: simplify alsa_output_try_format_both()Max Kellermann1-45/+18
Merge three functions into one and call get_bitformat() only once.
2012-03-21output/oss: move code to oss_probe_sample_format()Max Kellermann1-34/+59
2012-03-21pcm_export: use the byte_reverse library directlyMax Kellermann4-152/+24
Delete the now-unused pcm_byteswap library, and optimize the pcm_export_state object.
2012-03-21output/{alsa,oss}: move endian code to new library pcm_exportMax Kellermann4-61/+167
2012-03-21pcm_pack: fix regression in unpack_sample()Max Kellermann1-1/+1
Should have been "==", not "!=".
2012-03-21audio_format: DSD_OVER_USB is padded to 32 bitMax Kellermann1-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-21audio_format: remove the reverse_endian attributeMax Kellermann13-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-21output/oss: always receive host byte order samplesMax Kellermann1-7/+68
Don't use audio_format.reverse_endian.
2012-03-21output/alsa: always receive host byte order samplesMax Kellermann1-3/+61
Don't use audio_format.reverse_endian.
2012-03-21decoder/pcm: always supply host byte order samplesMax Kellermann1-15/+12
Don't use audio_format.reverse_endian.
2012-03-21pcm_byteswap: move code to libutilMax Kellermann3-38/+199
2012-03-21output/alsa: merge alsa_data_free() into destructorMax Kellermann1-8/+3
2012-03-21audio_format: hack for DSD to USB conversionMax Kellermann1-0/+9
Halve the sample rate for *:dsdusb:*.
2012-03-21Fix the build on OSXRich Healey1-0/+1
2012-03-21audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRSTMax Kellermann11-36/+4
This format is unused since the DSDIFF decoder plugin now reverses the bit order.