- 07 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 06 Mar, 2016 5 commits
-
-
Max Kellermann authored
There were two ways this could fail: 1. division by zero when sysconf(_SC_PAGESIZE)==0 2. mmap() failure because the size parameter is not aligned to page size Neither ever happened: sysconf() never fails, and the only caller passes a size that is already aligned. Phew.
-
Max Kellermann authored
The old check unsigned(value) > std::numeric_limits<unsigned>::max() .. cannot ever fail.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Mar, 2016 2 commits
-
-
Max Kellermann authored
Apparently all other C libraries are not compatible with "constexpr". Those which are not will get a performance penalty, but at least they work at all.
-
Max Kellermann authored
-
- 23 Feb, 2016 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Fixes disappearing duration of remote songs during playback. See http://bugs.musicpd.org/view.php?id=4492
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The initgroups() manpage says we need to check for _BSD_SOURCE. The thing is that glibc deprecated this macro, and doesn't define it anymore, effectively breaking all MPD supplementary groups. The real fix is to check for initgroups() availability at configure time, instead of relying on the deprecated _BSD_SOURCE macro.
-
- 19 Feb, 2016 3 commits
-
-
Chris Spiegel authored
-
Max Kellermann authored
Apply padding only to the fseek(), not to the chunk size. This fixes bogus "failed to read riff chunk" messages when the last chunk has an odd size. See http://bugs.musicpd.org/view.php?id=4486
-
Max Kellermann authored
-
- 15 Dec, 2015 5 commits
-
-
Max Kellermann authored
-
Benno Fünfstück authored
-
Ben Boeckel authored
These are other popular clients. In particular, VLC is available on mobile devices. Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
-
Christian Hesse authored
systemd does not understand LimitRTTIME=-1. For no limit we have to use the string 'infinity' (see systemd.exec(5)). Signed-off-by: Christian Hesse <mail@eworm.de>
-
Jörg Krause authored
Add ALSA_LIBS to MIXER_LIBS, otherwise building mpd in a static context fails with lot of undefined references to alsa-lib (libasound) required by src/mixer/plugins/AlsaMixerPlugin.cxx. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
-
- 10 Nov, 2015 2 commits
-
-
Michael Paquier authored
-
Max Kellermann authored
-
- 27 Oct, 2015 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This systemd feature has been removed a while ago without replacement, and it turns out that systemd developers suggest not using control groups at all to assign real-time privileges. Therfore, a replacement feature will not be implement in future systemd releases, and we can really remove those lines completely. See http://bugs.musicpd.org/view.php?id=4413
-
Max Kellermann authored
-
- 26 Oct, 2015 5 commits
-
-
Max Kellermann authored
Fixes http://bugs.musicpd.org/view.php?id=4432
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes mixer lag (http://bugs.musicpd.org/view.php?id=4425).
-
Max Kellermann authored
Allocate the buffer dynamically using av_malloc(), and free AVIOContext.buffer in the destructor, as mandated by the libavformat documentation. Fixes http://bugs.musicpd.org/view.php?id=4446
-
- 16 Oct, 2015 6 commits
-
-
Max Kellermann authored
Eliminates some duplicate code, and as a side effect, this works around clang 3.8 compiler warning because a negative value was shifted.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Copy to encoder->audio_format *after* adjusting the sample format to S24_P32. Fixes http://bugs.musicpd.org/view.php?id=4433
-
Max Kellermann authored
-
Max Kellermann authored
-
- 21 Jun, 2015 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Fixes missing SongBorder() call, which causes "single" mode breakage.
-
Max Kellermann authored
If there's a stream tag, don't let the song tag override it in the next update_stream_tag() call.
-