- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 21 Sep, 2020 1 commit
-
-
Rosen Penev authored
Found with -Wdouble-promotion Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 16 Mar, 2020 1 commit
-
-
Rosen Penev authored
Found with -Wdouble-promotion Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 1 commit
-
-
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>
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 30 Jul, 2019 1 commit
-
-
Max Kellermann authored
Applying software volume to S16 samples means several bits of precision are lost; at 25% volume, two bits are lost. Additionally, dithering adds some noise. The problem gets worse when you apply the software volume code twice: for the software mixer volume, and again for the replay gain. This loses some more precision and adds even more dithering noise, which can become audible (see https://github.com/MusicPlayerDaemon/MPD/issues/542). By converting everything to 24 bit, we need to shift only two bits to the right instead of ten, losing nearly no precision, and dithering is not needed. Even if the output device is unable to play S24 directly, we can convert back to S16 with only one stage of dithering. Closes https://github.com/MusicPlayerDaemon/MPD/issues/542
-
- 05 Jul, 2019 4 commits
-
-
Max Kellermann authored
Prepare for a new mode which may convert to a different sample format when applying volume, to reduce dithering.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 17 Jun, 2019 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 Mar, 2019 1 commit
-
-
Max Kellermann authored
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 17 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 09 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Jul, 2016 1 commit
-
-
Max Kellermann authored
While this assert() was useful when we had to track the object's state manually, there was no practical purpose other than verifying old code, and it complicates our new C++ code.
-
- 01 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 28 Dec, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Instead of just adding a rectangular random value before shifting back to the normal scale, use the existing PcmDither library.
-
- 23 Dec, 2013 2 commits
-
-
Max Kellermann authored
Prepare for adding state.
-
Max Kellermann authored
-
- 22 Dec, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 03 Aug, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Jul, 2013 1 commit
-
-
Max Kellermann authored
-
- 08 Apr, 2013 1 commit
-
-
Max Kellermann authored
-
- 31 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2012 1 commit
-
-
Max Kellermann authored
Remove GLib dependency from some headers.
-
- 20 Oct, 2011 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 10 Oct, 2011 1 commit
-
-
Max Kellermann authored
The other audio_format attributes are not used.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-