Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-01 | copyright year 2021 | Max Kellermann | |
2020-03-16 | remove gcc_unused | Rosen Penev | |
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-01-18 | AudioFormat: move to pcm/ | Max Kellermann | |
2020-01-18 | copyright year 2020 | Max Kellermann | |
2019-07-30 | pcm/Volume: convert S16 to S24 to preserve quality and reduce noise | Max Kellermann | |
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 | |||
2019-07-05 | pcm/Volume: Open() returns output sample format | Max Kellermann | |
Prepare for a new mode which may convert to a different sample format when applying volume, to reduce dithering. | |||
2019-06-17 | Copyright year 2019 | Max Kellermann | |
2018-11-19 | check.h: remove obsolete header | Max Kellermann | |
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, 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. | |||
2018-10-31 | *: copyright year 2018 | Max Kellermann | |
2018-07-17 | test/*: catch and print all exceptions | Max Kellermann | |
2017-01-03 | update copyright year | Max Kellermann | |
2016-10-28 | AudioParser: throw exception on error | Max Kellermann | |
2016-09-09 | pcm/Convert: migrate from class Error to C++ exceptions | Max Kellermann | |
2016-02-26 | update copyright year to 2016 | Max Kellermann | |
2015-08-15 | test/stdbin.h: remove obsolete header | Max Kellermann | |
2015-01-01 | Copyright year 2015 | Max Kellermann | |
2014-01-13 | copyright year 2014 | Max Kellermann | |
2014-01-07 | test: add missing includes | Max Kellermann | |
2013-12-24 | test/*: use fprintf(stderr,...) and Log() instead of g_printerr() | Max Kellermann | |
Avoid GLib. | |||
2013-12-23 | pcm/Volume: convert to class | Max Kellermann | |
Prepare for adding state. | |||
2013-12-23 | pcm/PcmVolume: rename to Volume.cxx | Max Kellermann | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | |
Replaces GLib's GError. | |||
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | |
2013-08-03 | audio_format: convert to C++ | Max Kellermann | |
2013-04-09 | pcm_*: move to src/pcm/ | Max Kellermann | |
2013-01-31 | pcm_*: convert to C++ | Max Kellermann | |
2013-01-30 | audio_{parser,config}: convert to C++ | Max Kellermann | |
2013-01-30 | test/run_encoder, ...: convert to C++ | Max Kellermann | |