- 25 Jun, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 06 Jul, 2020 1 commit
-
-
Max Kellermann authored
Bug #915 is about an I/O exception thrown where none was allowed, leading to crash via std::terminate(). However, instead of catching and logging the error inside the decoder plugin, it should be able to propagate the I/O error to the MPD core, so MPD can avoid trying other decoder plugins. Closes https://github.com/MusicPlayerDaemon/MPD/issues/915
-
- 16 Mar, 2020 1 commit
-
-
Rosen Penev authored
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 02 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-redundant-void-arg Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 15 Jun, 2019 1 commit
-
-
Max Kellermann authored
Add a `constexpr` constructor and several `constexpr` methods to construct a DecoderPlugin at compile time, in a way which allows adding new methods later without having to edit each plugin.
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 07 Jul, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 05 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 17 Feb, 2018 3 commits
-
-
Max Kellermann authored
This addresses two problems: 1. the libFLAC write callback had to send an error status to its caller when SubmitData() returned a command; this disrupted libFLAC and the resulting command could not be used for anything; 2. the libFLAC function FLAC__stream_decoder_seek_absolute() also calls the write callback, but its result cannot be used, because seeking is still in progress, so we lose all data from one FLAC frame. By moving the SubmitData() call until after CommandFinished(), we avoid losing this data. This fixes another part of #113
-
Max Kellermann authored
See code comment.
-
Max Kellermann authored
-
- 21 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 18 Nov, 2016 3 commits
-
-
Max Kellermann authored
Replaces decoder_data() and others.
-
Max Kellermann authored
-
Max Kellermann authored
Prepare for a Decoder API redesign based on an abstract class with virtual methods.
-
- 10 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 16 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 11 Jul, 2016 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Jul, 2016 7 commits
-
-
Max Kellermann authored
This is required if a stream ands without another chained FLAC file.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
It's always 0.
-
Max Kellermann authored
If the duration is unknown, pass SignedSongTime::Negative(), as documented for decoder_initialized().
-
Max Kellermann authored
-
Max Kellermann authored
This is obsolete because it has been moved to the MPD core.
-
- 05 Jul, 2016 2 commits
-
-
Max Kellermann authored
libFLAC API documentation suggests that FLAC__stream_decoder_flush() should be called to recover from FLAC__STREAM_DECODER_SEEK_ERROR.
-
Max Kellermann authored
Stop after all fatal errors. This fixes assertion failures in libFLAC.
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-