- 04 Sep, 2020 3 commits
-
-
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
-
Max Kellermann authored
-
Max Kellermann authored
-
- 06 Jul, 2020 2 commits
-
-
Max Kellermann authored
Prepare for templated functions.
-
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
-
- 01 Jul, 2020 8 commits
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/867
-
Max Kellermann authored
Will be needed for End Trimming (RFC7845 4.4, https://github.com/MusicPlayerDaemon/MPD/issues/867).
-
Max Kellermann authored
-
Max Kellermann authored
Fixes memory leak. That's what we get for
-
Max Kellermann authored
-
Max Kellermann authored
Fixes the first part of https://github.com/MusicPlayerDaemon/MPD/issues/867
-
Max Kellermann authored
-
Max Kellermann authored
-
- 10 Jun, 2020 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
When the client wants to seek, but the decoder has already finished decoding the current song, the player restarts the decoder with an initial seek at the new position. When this initial seek fails, MPD pretends nothing has happened and plays this song from the start. With this new flag, a restarted decoder marks the initial seek as "essential" and fails the decoder if that seek fails. Closes https://github.com/MusicPlayerDaemon/MPD/issues/895
-
- 27 May, 2020 5 commits
-
-
Max Kellermann authored
Fixes regression from commit 69f09648
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The WildMidi project added the pkg-config file in version 0.3.3, but unfortunately, Debian still doesn't ship it 4 years later: https://bugs.debian.org/916631 However, for cross-compiling, the pkg-config file is very helpful.
-
- 22 Apr, 2020 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/833
-
- 01 Apr, 2020 1 commit
-
-
Max Kellermann authored
This reverts commit eb192137. This is no longer necessary because we require FFmpeg 3.1 or newer since MPD 0.21.2. This fixes a deprecation warning because the implicit AVPacket copy constructor copies the deprecated attribute `convergence_duration`.
-
- 26 Mar, 2020 2 commits
-
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
This is the case with uClibc-ng currently. Signed-off-by:
Rosen Penev <rosenp@gmail.com> (cherry picked from commit 769cd0ee9f0cf8ceb026aa751b5d4a390bb5dbdc) (changed define to match master)
-
- 25 Feb, 2020 1 commit
-
-
John Regan authored
Using libgme 0.6.2 on macOS, it appears that gme_info_t strings can be empty, which creates weird track titles: (001/050) This adds an additional check for an empty string.
-
- 04 Feb, 2020 2 commits
-
-
Max Kellermann authored
-
Rosen Penev authored
Found with bugprone-suspicious-missing-comma Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 2 commits
-
-
Max Kellermann authored
-
Rosen Penev authored
-
- 31 Jan, 2020 1 commit
-
-
Rosen Penev authored
max_frames is size_t, not unsigned long. Fixes GCC warning.
-
- 25 Jan, 2020 1 commit
-
-
Max Kellermann authored
When calling OggSeekFindEOS() from inside a OggVisitor callback, then the #InputStream may be in the middle of an Ogg packet, and the newly initialized #ogg_sync_state will not be able to load it without the help of ogg_sync_pageseek(). By passing "synced=false" to OggSeekFindEOS(), we force the use of ogg_sync_pageseek() even when not actually seeking. Closes https://github.com/MusicPlayerDaemon/MPD/issues/719
-
- 16 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 13 Sep, 2019 3 commits
-
-
Max Kellermann authored
Apparently, libmpcdec sets gain/peak variables to zero if they are not present. This clashes with our formula and results in bogus values which cause noise during playback. Closes https://github.com/MusicPlayerDaemon/MPD/issues/640
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Sep, 2019 1 commit
-
-
Max Kellermann authored
-