- 25 Jun, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 04 Sep, 2020 1 commit
-
-
Max Kellermann authored
While libsndfile doesn't like partial reads in the middle of a file (see commit 95ac6071), it allows partial reads at the end of a file. It doesn't pay attention to the file size when issuing a read. Commit ecb67a1e (MPD 0.18.12) was a regression: previously, partial reads at the end of a file were possible, but switching to decoder_read_full() made this an error condition. This way, a portion at the end of each file was lost, leading to corruption with gapless playback (https://github.com/MusicPlayerDaemon/MPD/issues/936). This fix switches to the newly introduced function decoder_read_much(), which does the same as the code before commit ecb67a1e. Closes https://github.com/MusicPlayerDaemon/MPD/issues/936
-
- 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
-
- 24 Mar, 2020 1 commit
-
-
Rosen Penev authored
Found with constVariable Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 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>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 18 Jan, 2020 2 commits
-
-
Max Kellermann authored
-
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.
-
- 06 Jun, 2019 1 commit
-
-
Max Kellermann authored
Eliminates a number of allocations, because callers don't need to copy the strings to a newly allocated buffer only to null-terminate them. And most callers don't need to have a null-terminated string.
-
- 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
-
- 19 Oct, 2018 1 commit
-
-
Max Kellermann authored
Use `const_cast` to be able to pass it to sf_open_virtual() which has a wrong parameter declaration.
-
- 07 Jul, 2018 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Fixes memory leaks.
-
Max Kellermann authored
-
- 05 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 08 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 18 Nov, 2016 4 commits
-
-
Max Kellermann authored
Replaces decoder_data() and others.
-
Max Kellermann authored
-
Max Kellermann authored
Replaces decoder_initialized().
-
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
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 23 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 22 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 31 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2015 1 commit
-
-
Max Kellermann authored
The old struct config_param remains only for top-level string options.
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 21 Sep, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Sep, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-