- 16 Oct, 2020 5 commits
-
-
Max Kellermann authored
Fixes regression by commit 23d5a2b8 - that commit always pretended that any Opus file has both track and album gain, and thus disabled the fallback to the other if one is not set. This patch changes the logic to only submit ReplayGain if at least one value is set, and apply the offset only to that value. If none is available, then the new check in HandleAudio() will submit only the output gain. Closes https://github.com/MusicPlayerDaemon/MPD/issues/977
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 15 Oct, 2020 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Oct, 2020 12 commits
-
-
Max Kellermann authored
By bit-wise ANDing the reported flags with GetScheduledFlags(), ERROR/HANGUP always get cleared. This means the MPD event loop could never report those conditions.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This just happened to break the Windows build because of the `GetObject` macro in `windows.h`, so I added a kludge to PollResultGeneric.hxx.
-
Max Kellermann authored
-
Max Kellermann authored
Oh no, 3413d1bf was broken! Instead of passing a number as "seconds" to the duration constructor, it just abused the duration constructor as cast operator, which caused custom state_file_interval settings to be extremely short.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 06 Oct, 2020 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Don't attempt to initialize the io_uring subsystem more than once.
-
- 05 Oct, 2020 8 commits
-
-
Max Kellermann authored
On Windows, there is an IsWhitespaceOrNull() overload with TCHAR, and the compiler doesn't know which one to pass to std::find_if().
-
Max Kellermann authored
Don't copy the input StringView.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/974
-
Max Kellermann authored
cue_next_word() can return a pointer one past the end of the string if the word is followed by the terminating null byte.
-
Max Kellermann authored
This commit adds some basic infrastructure for fuzzers, and adds a fuzzer for the CUE sheet parser.
-
Max Kellermann authored
-
- 02 Oct, 2020 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This allows canceling the blocking method LockWaitWriteAvailable(), and thus allows breaking free of misbehaving ALSA drivers, avoiding a MPD lockup. Closes https://github.com/MusicPlayerDaemon/MPD/issues/966
-
Max Kellermann authored
This allows interrupting the output thread (for some plugins which implement this method). This way, operations can be canceled properly, instead of waiting for some external entity.
-
Max Kellermann authored
Move the InternalPlay() call and the wake_cond.wait() call into the `case Command::NONE` and revert all `continue` statements to a simple `break`.
-
- 01 Oct, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-