Max Kellermann
|
0c1ecc96a8
|
*: let libfmt quote strings
|
2024-04-16 11:50:18 +02:00 |
|
Max Kellermann
|
b63a794fbe
|
io/FileDescriptor: add [[nodiscard]]
|
2024-01-13 22:31:16 +01:00 |
|
Max Kellermann
|
393d57b387
|
util/NumberParser: rename to CNumberParser
A new NumberParser library based on std::from_chars() will be added.
|
2024-01-04 21:02:45 +01:00 |
|
Max Kellermann
|
5b7a89d714
|
mixer/plugins/volume_mapping: convert to C++
|
2023-03-14 20:18:41 +01:00 |
|
Max Kellermann
|
5b41857a22
|
mixer/plugins/volume_mapping: add SPDX header
|
2023-03-14 20:08:43 +01:00 |
|
Max Kellermann
|
42f6a0441c
|
use [[gnu::...]] attributes
|
2023-03-06 16:14:15 +01:00 |
|
Max Kellermann
|
148aca23be
|
use SPDX IDs, replacing the long copyright headers
|
2023-03-06 14:59:48 +01:00 |
|
Brad Smith
|
e0df0b6d74
|
oss: Remove use of the soundcard.h header, OpenBSD no longer uses OSS
|
2023-02-03 18:38:20 -05:00 |
|
Max Kellermann
|
fa58db798b
|
lib/fmt/RuntimeError: new library
Replacing FormatRuntimeError().
|
2022-11-29 14:10:34 +01:00 |
|
Max Kellermann
|
8ad0d919b1
|
lib/icuConverter, ...: use FmtBuffer() and FmtErrno()
|
2022-11-29 09:09:11 +01:00 |
|
Max Kellermann
|
4b5c8d1f3e
|
mixer/meson.build: split libmixer_api from libmixer_glue
|
2022-11-29 09:09:11 +01:00 |
|
Max Kellermann
|
66029c405f
|
system/FmtError: move to lib/fmt/
|
2022-11-28 23:09:27 +01:00 |
|
Max Kellermann
|
96ae659fdf
|
system/FmtError: new library
Replaces the Format*() functions in system/Error.hxx.
|
2022-11-28 21:56:12 +01:00 |
|
Max Kellermann
|
b0873fbc90
|
mixer/Mixer*: drop the "Mixer" prefix from source files
|
2022-08-18 17:21:39 +02:00 |
|
Max Kellermann
|
c14484a5cc
|
mixer/MixerList: eliminate header
|
2022-08-18 17:14:42 +02:00 |
|
Max Kellermann
|
cc0def15c4
|
Copyright year 2022
|
2022-07-14 17:59:35 +02:00 |
|
Max Kellermann
|
52eff41379
|
remove Haiku support
Haiku support has been unmaintained for many years, and this issue has
been open for more than 5 years, but apparently the Haiku people have
lost interest:
https://github.com/MusicPlayerDaemon/MPD/pull/183
Haiku support was therefore deprecated by this commit 4 years ago:
7de8fd04a4 - but in those 4 years, nobody stepped up to adopt
maintainership.
I don't have any computer (or VM) with Haiku and there is no CI with
Haiku support, so I'm unable to adapt the Haiku specific code to API
changes.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/182
Closes https://github.com/MusicPlayerDaemon/MPD/issues/185
|
2022-07-12 13:14:49 +02:00 |
|
Rosen Penev
|
5deca66fdc
|
add various nodiscard
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2021-11-11 17:17:26 -08:00 |
|
Max Kellermann
|
5d0941476a
|
lib/alsa/Error: a std::system_error category for libasound errors
|
2021-11-04 14:59:00 +01:00 |
|
Max Kellermann
|
aa9933c0b5
|
output/pipewire: add noexcept
|
2021-10-19 08:58:50 +02:00 |
|
Nicolai Syvertsen
|
b941a7df83
|
Implement volume updates for pipewire output
|
2021-10-19 00:01:45 +02:00 |
|
Max Kellermann
|
bd893e6336
|
Merge tag 'v0.22.10'
release v0.22.10
|
2021-08-06 18:21:59 +02:00 |
|
Max Kellermann
|
04eb911a51
|
mixer/alsa: use cached values to work around rounding errors
This replaces 967af60327 with a more
effective workaround.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/822
|
2021-08-06 18:16:37 +02:00 |
|
Max Kellermann
|
351b39e0c5
|
mixer/alsa: skip the snd_mixer_handle_events() call in alsa_mixer_elem_callback()
snd_mixer_handle_events() has already been called by
DispatchSockets(). This way, we can also skip the exception handler.
|
2021-08-06 18:03:36 +02:00 |
|
Max Kellermann
|
3b6d4e6673
|
mixer/alsa: move alsa_mixer_elem_callback() into the AlsaMixer class
|
2021-08-06 18:01:19 +02:00 |
|
Max Kellermann
|
e8f328d8ad
|
mixer/alsa: move code to GetPercentVolume()
|
2021-08-06 17:56:30 +02:00 |
|
Max Kellermann
|
5f5b5f63af
|
mixer/alsa: move code to NormalizedToPercent()
|
2021-08-06 17:55:59 +02:00 |
|
Max Kellermann
|
ad6e303047
|
mixer/alsa: move code to GetNormalizedVolume()
|
2021-08-06 17:53:45 +02:00 |
|
Max Kellermann
|
968624035c
|
mixer/pipewire: new plugin
|
2021-08-05 10:57:37 +02:00 |
|
Max Kellermann
|
b29a43b4d7
|
decoder/mad, ...: more libfmt logging
|
2021-06-25 20:52:08 +02:00 |
|
Max Kellermann
|
85b0029ba2
|
meson.build: add missing dependencies on libfmt
|
2021-06-25 20:28:54 +02:00 |
|
Max Kellermann
|
6f539cfcd6
|
Partition, ...: use libfmt for logging
|
2021-06-24 21:40:11 +02:00 |
|
Rosen Penev
|
6af7be4a45
|
add constexpr
Found with cppcoreguidelines-interfaces-global-init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2021-05-31 13:45:39 -07:00 |
|
Rosen Penev
|
220d2bf026
|
clang-tidy: add explicit deleted constructors
Found with cppcoreguidelines-special-member-functions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
2021-05-30 22:47:20 -07:00 |
|
Max Kellermann
|
96707c0426
|
Merge tag 'v0.22.7'
release v0.22.7
|
2021-05-19 18:43:19 +02:00 |
|
Max Kellermann
|
bcf0fdd3a8
|
meson.build: define NOUSER on Windows for lighter windows.h
A few exceptions are needed for sources which include COM header
(directly or indirectly).
This fixes lots of shadow warnings, see
https://github.com/MusicPlayerDaemon/MPD/issues/1150
|
2021-05-19 18:02:49 +02:00 |
|
Max Kellermann
|
25354b9d8c
|
Merge branch 'v0.22.x'
|
2021-03-10 21:06:12 +01:00 |
|
Max Kellermann
|
6a75c48dba
|
win32/HResult: add MakeHResultError()
None of the current FormatHResultError() callers need the format string.
|
2021-03-08 13:46:36 +01:00 |
|
Max Kellermann
|
90d97053a8
|
win32/ComWorker: make COMWorker a real class, no static members
|
2021-03-06 20:46:29 +01:00 |
|
Max Kellermann
|
e1b62fb90d
|
Merge branch 'v0.22.x'
|
2021-03-05 19:33:46 +01:00 |
|
Max Kellermann
|
9ff790b7bb
|
output/wasapi: move COM utilities to separate headers
|
2021-03-05 18:33:31 +01:00 |
|
Max Kellermann
|
e6a81bb95c
|
output/wasapi: split the header
Reduce header dependencies.
|
2021-03-05 16:43:44 +01:00 |
|
Max Kellermann
|
9521c1ad58
|
output/wasapi: use forward declarations in the header
|
2021-03-05 16:42:38 +01:00 |
|
Max Kellermann
|
681956a963
|
output/wasapi: include cleanup
|
2021-03-05 16:42:14 +01:00 |
|
Max Kellermann
|
afe621c25c
|
output/wasapi: move to separate directory
|
2021-03-05 16:28:36 +01:00 |
|
Max Kellermann
|
ef1acb4e2f
|
Merge branch 'v0.22.x'
|
2021-03-04 18:56:29 +01:00 |
|
Shen-Ta Hsieh
|
2974737746
|
src/win32: Add ComWorker to run all COM function on same thread
|
2021-03-04 18:43:43 +01:00 |
|
Max Kellermann
|
abbd980671
|
Merge branch 'v0.22.x'
|
2021-01-01 19:59:15 +01:00 |
|
Max Kellermann
|
5348f8c9c8
|
copyright year 2021
|
2021-01-01 19:54:28 +01:00 |
|
Max Kellermann
|
774b4313f2
|
event/DeferEvent: split the thread-safe version into new class InjectEvent
|
2020-12-01 17:14:24 +01:00 |
|