| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This plugin is horrible code, I mean it. Last year, I tried hard to
fix it, but I figured would take less time to do a full rewrite.
Given that I don't even have any device that supports RAOP, I can't do
that properly. After 16 months, nobody volunteered for fixing it.
Hereby, I delete it, because having no RAOP plugin is better than
having this mess. Sorry.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Version 4 of my patch to add DSF support to the DSDIFF
decoder plugin.
This time I have taken a different approach and created a new
read_metadata function specific for reading DSF files. This saves an
indent (and for me a lot of indent nightmares) and also useful for
splitting the DSF and DFF decoders later on.
There are still a few lines which exceed the 80 character width limit by
a few chars. I was not able to stay within the limit and create (for me)
readable code.
Jurgen
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
.. and not in_frame_size, because this relates to the frame size being
sent to ALSA. pcm_export_source_size() will then turn it back into
the in_frame_size scale.
|
| |
|
|
|
|
| |
Move code from the ALSA output plugin.
|
|
|
|
|
| |
The hard-coded "3 bytes" was wrong because it ignored the number of
channels.
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/output/osx_plugin.c
src/text_input_stream.c
|
| |
| |
| |
| |
| | |
Add the encoder_plugin method end(). This is important for the
recorder plugin.
|
| | |
|
| |
| |
| |
| |
| | |
Don't reset the ogg_stream_state object, because this discards the
end-of-stream packet that was just added.
|
| | |
|
| | |
|
| |
| |
| |
| | |
g_basename() is deprecated in GLib 2.32.
|
| |
| |
| |
| |
| | |
g_basename() is deprecated in GLib 2.32. Instead, verify that the
suffix does not have a backslash, to catch Windows path names.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
Some compilers are very picky, but we really aren't interested in the
return value.
|
| |
| |
| |
| | |
This might break older versions, I didn't test.
|
| |
| |
| |
| |
| | |
Fixes endless loop when the last line of a text file was not
terminated (bug 3470).
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
For 32 bit DSD-over-USB support.
|
| | |
|
| |
| |
| |
| | |
Prepare for removing SAMPLE_FORMAT_DSD_OVER_USB.
|
| |
| |
| |
| | |
Give the caller more control, prepare for DSD-over-USB improvements.
|
| |
| |
| |
| | |
It's a padded 24 bit format.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
|
| |
| |
| |
| |
| |
| | |
Implements the dCS suggested standard:
http://www.dcsltd.co.uk/page/assets/DSDoverUSB.pdf
|
| |
| |
| |
| | |
Fixes build failure on 64 bit.
|
| |
| |
| |
| | |
Make it in_frame_size and out_frame_size, to account for packing.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Converts padded 24 bit samples to packed 24 bit samples. Will replace
the packed S24 sample format, which is not used internally.
|
| |
| |
| |
| |
| | |
Improving oss_reopen() by using the very same value that was used
initially.
|
| | |
|
| |
| |
| |
| | |
Let the caller configure the audio_format object.
|
| |
| |
| |
| | |
Merge three functions into one and call get_bitformat() only once.
|