- 13 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former is deprecated with C++14. The standard says both are the same: The contents and meaning of the header<cstddef>are the same as the C standard library header<stddef.h>,except that it does not declare the type wchar_t, that it also declares the type byte and its associated operations (21.2.5), and as noted in 21.2.3 and 21.2.4. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 4 commits
-
-
Rosen Penev authored
The former is deprecated by C++14. It's also functionally the same. From the standard: 19.4 The header<cerrno>is described in Table 43. Its contents are the same as the POSIX header<errno.h>,except that errno shall be defined as a macro. [Note: The intent is to remain in close alignment with the POSIX standard.] A separate errno value shall be provided for each thread. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
None of the functions in these files come from ctype.h Also changed one instance of isdigit to the C++ variant. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
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>
-
- 29 Feb, 2020 1 commit
-
-
Thomas Klausner authored
-
- 04 Feb, 2020 2 commits
-
-
Rosen Penev authored
Found with readability-uppercase-literal-suffix Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with readability-const-return-type 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>
-
- 01 Feb, 2020 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Rosen Penev authored
Found with modernize-use-override Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 18 Jan, 2020 2 commits
-
-
Max Kellermann authored
Prevents compiling those sources many times, once for each debug program using it.
-
Max Kellermann authored
-
- 12 Jan, 2020 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/708
-
- 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.
-
- 29 Oct, 2019 1 commit
-
-
Niklas Haas authored
This is the correct thing to do for ports from which a signal ultimately "originates", such as is the case with mpd.
-
- 26 Sep, 2019 1 commit
-
-
Max Kellermann authored
-
- 22 Aug, 2019 1 commit
-
-
Max Kellermann authored
This header had been available for a long time on Linux, but was removed in glibc 2.30. This commit moves the `#include` line inside the `#ifdef __sun` block and adds a fake declaration of `I_FLUSH` for the Linux build. Closes https://github.com/MusicPlayerDaemon/MPD/issues/630
-
- 06 Aug, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Without this, the compiler may optimize accesses away.
-
Max Kellermann authored
-
- 05 Aug, 2019 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Aug, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Without this, the compiler may optimize accesses away.
-
Max Kellermann authored
-
- 03 Aug, 2019 3 commits
-
-
Max Kellermann authored
-
ckdo authored
This is useful in multiple mpd instances scenario, or multiple pulse outputs defined on the same mpd instance. It is actually a more flexible way to route flows than the "sink" parameter, letting the PulseAudio routing do its job, but with the ability to isolate routing for each output. If not specified, the role remains like it was before this commit, ie "music"
-
Richard Dodd authored
-
- 02 Aug, 2019 1 commit
-
-
Diomendius authored
The JACK output plugin would not correctly upmix mono input files when exactly 2 output ports were configured. This fixes that.
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 04 Jul, 2019 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
It's not a tri-state anymore since we introduced C++ exceptions.
-
Max Kellermann authored
-
Max Kellermann authored
Pass only the amount of data to PcmExport::Export() when its full output fits into the ring buffer. Using only a part of the PcmExport::Export() result may cause data corruption because PcmExport's internal state may contain partial blocks which would need to be rolled back when only some of its output data was used. As a side effect, this fixes an assertion failure because PcmExport::CalcInputSize() considered partial block data and could cause Play() to return a number larger than the "size" parameter.
-
Max Kellermann authored
If snd_pcm_writei() fails, throw an error and stop playback instead of going into an endless busy loop.
-