- 17 Jul, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This fixes an old bug which caused the "unused" warnings to be unreliable; only the first block in the list was marked as being "used", no matter if it was really used, and the rest was never marked as "used", suppressing all warnings for them.
-
- 16 Jul, 2018 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 06 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 15 Mar, 2018 2 commits
-
-
Max Kellermann authored
There was a discrepancy between what was written to the buffer and the size returned by pcm_dsd_to_dop(): the "for" loop uses num_frames/2, rounding down, while the return value is num_samples which is num_frames*channels, without rounding. This could cause undefined data at the end of the destination buffer if the source buffer size was not aligned to multiples of 8 bytes (4 DSD bytes per channel). The latter however can occur in the 0.21 branch after commit a06bf388 Closes #233
-
Max Kellermann authored
-
- 09 Feb, 2018 1 commit
-
-
Max Kellermann authored
This was a buffer overflow bug which could cause MPD crahes when playing back 8 channels with the ALSA output plugin. Closes #216
-
- 02 Jan, 2018 2 commits
-
-
Max Kellermann authored
Wired to Filter::Flush(). Closes #153
-
Max Kellermann authored
-
- 01 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 23 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 18 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 12 Dec, 2017 1 commit
-
-
Max Kellermann authored
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
-
- 10 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 26 Oct, 2017 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Jun, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jun, 2017 1 commit
-
-
Max Kellermann authored
This commit is similar to 788e3b31, and removes more "pure" attributes which were placed on functions that could throw exceptions, which is illegal according to clang's understanding of the attribute (but not according to GCC's). GitHub issue #58 was most likely about StorageDirectoryReader::GetInfo() and Storage::GetInfo(), which still had "pure" attributes. Closes #58
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 24 Apr, 2017 1 commit
-
-
Max Kellermann authored
-
- 22 Apr, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 27 Jan, 2017 1 commit
-
-
Max Kellermann authored
GCC 4.9 has incomplete C++14 support. Specifically, it doesn't allow switch/case in "constexpr" functions.
-
- 20 Jan, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 19 Jan, 2017 1 commit
-
-
Max Kellermann authored
Previously, there was no special code to convert stereo to multi-channel. The generic solution for this was to convert to mono, and then copy the result to all channels. That's a pretty bad solution, but at least something which always renders audio. MPD does something, instead of failing. Now that MPD has proper support for multi-channel (by defining the channel order), we can do better than that. It is a (somewhat) common case to play back stereo music on a DAC which can only do multi-channel. The best approach here is to copy the stereo channels to front-left and front-right, and apply the "silence" pattern to all other channels.
-
- 17 Jan, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 11 Jan, 2017 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The byte order of DSD_U32 was wrong from the start. The oldest bits must be in the MSB, not in the LSB, according to snd_pcm_format_descriptions in alsa-lib.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
We'll have some code for it soon.
-