- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 01 Jul, 2020 1 commit
-
-
Max Kellermann authored
-
- 26 Mar, 2020 1 commit
-
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 2 commits
-
-
Rosen Penev authored
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Introduced in C++17. It replaces gcc's warn_unused_result. Found with modernize-use-nodiscard. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 04 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-use-override Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 06 Nov, 2019 1 commit
-
-
Max Kellermann authored
Apparently, Icecast defaults to ISO-8859-1 for MP3: http://icecast.org/docs/icecast-2.4.0/config-file.html#mountsettings This change forces Icecast to UTF-8 without having to configure it in Icecast's configuration file.
-
- 26 Sep, 2019 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2019 1 commit
-
-
Max Kellermann authored
Fixes build failure after commit 0cea67ee
-
- 19 Jan, 2019 1 commit
-
-
Jakob Ovrum authored
-
- 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
-
- 24 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 19 Dec, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 10 Nov, 2017 7 commits
-
-
Max Kellermann authored
There is no documentation on whether calling shout_metadata_add() multiple times on one instance is allowed. To be sure, let's allocate the object on demand each time in SendTag().
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This is more robust, for example it allows using the Shine encoder plugin instead of LAME.
-
Max Kellermann authored
-
- 08 Sep, 2017 1 commit
-
-
Max Kellermann authored
Coverity discovered that the Pulse plugin could throw exceptions from Pause(), but that method was marked "noexcept" because its caller was not designed to catch exceptions. So instead of avoiding exceptions (by catching and logging them in each and every implementation), let's allow them, and do the catch/log game in the MPD core.
-
- 10 Aug, 2017 1 commit
-
-
Max Kellermann authored
Yet another C-style vtable replaced with C++.
-
- 08 Aug, 2017 9 commits
-
-
Max Kellermann authored
Hide struct FilteredAudioOutput from the plugins, preparing for hiding MPD's core internals.
-
Max Kellermann authored
Avoid accessing FilteredAudioFormat attributes directly.
-
Max Kellermann authored
Configure the AudioFormat after opening the encoder, because only now we know the final format.
-
Max Kellermann authored
-
Max Kellermann authored
This order will be necessary for proper AudioFormat initialization, because the encoder may change the format.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Aug, 2017 1 commit
-
-
Max Kellermann authored
Prepare to add an abstract class AudioOutput, to be implemented by plugins, to get rid of the C-style vtable.
-
- 08 May, 2017 2 commits
-
-
Max Kellermann authored
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41.
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-