- 15 Feb, 2021 3 commits
-
-
Max Kellermann authored
In this state, we can't make any progress. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1084
-
Max Kellermann authored
Drain only if it was requested explicitly.
-
Max Kellermann authored
It is useless, because we're always checking pa_stream_is_corked().
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 02 Oct, 2020 1 commit
-
-
Max Kellermann authored
-
- 16 Mar, 2020 1 commit
-
-
Rosen Penev authored
[[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>
-
- 13 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former is deprecated with C++14. The standard says both are the same: The contents and meaning of the header<cstddef>are the same as the C standard library header<stddef.h>,except that it does not declare the type wchar_t, that it also declares the type byte and its associated operations (21.2.5), and as noted in 21.2.3 and 21.2.4. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 12 Mar, 2020 2 commits
-
-
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>
-
Rosen Penev authored
Introduced in C++17. It replaces gcc's warn_unused_result. Found with modernize-use-nodiscard. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 02 Feb, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-redundant-void-arg Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 01 Feb, 2020 1 commit
-
-
Max Kellermann authored
-
- 18 Jan, 2020 1 commit
-
-
Max Kellermann authored
-
- 12 Jan, 2020 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/708
-
- 03 Aug, 2019 1 commit
-
-
ckdo authored
This is useful in multiple mpd instances scenario, or multiple pulse outputs defined on the same mpd instance. It is actually a more flexible way to route flows than the "sink" parameter, letting the PulseAudio routing do its job, but with the ability to isolate routing for each output. If not specified, the role remains like it was before this commit, ie "music"
-
- 05 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 03 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 16 Mar, 2019 1 commit
-
-
Max Kellermann authored
Unlike pa_channel_map_init_auto(), pa_channel_map_init_extend() does not fail if there is no valid mapping for the given channel count, but instead maps additional "AUX" channels. Closes https://github.com/MusicPlayerDaemon/MPD/issues/493
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, 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.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 30 Jan, 2018 1 commit
-
-
Max Kellermann authored
The PulseOutput needs to be "enabled" before WaitConnection() may be called. Closes #207
-
- 19 Dec, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 Sep, 2017 1 commit
-
-
Max Kellermann authored
Coverity discovered that the Pulse plugin could throw exceptions from Pause(), but that method was marked "noexcept" because its caller was not designed to catch exceptions. So instead of avoiding exceptions (by catching and logging them in each and every implementation), let's allow them, and do the catch/log game in the MPD core.
-
- 10 Aug, 2017 1 commit
-
-
Max Kellermann authored
Yet another C-style vtable replaced with C++.
-
- 08 Aug, 2017 1 commit
-
-
Max Kellermann authored
Hide struct FilteredAudioOutput from the plugins, preparing for hiding MPD's core internals.
-
- 07 Aug, 2017 1 commit
-
-
Max Kellermann authored
Prepare to add an abstract class AudioOutput, to be implemented by plugins, to get rid of the C-style vtable.
-
- 23 May, 2017 1 commit
-
-
Max Kellermann authored
Don't access AudioOutput::pause.
-
- 16 May, 2017 1 commit
-
-
Max Kellermann authored
Fixes build failure on OS X, closes #44. With the other plugins, that's not critical, because those use the AudioOutputWrapper, which hides this problem.
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 25 Jan, 2017 1 commit
-
-
Max Kellermann authored
Eliminate dependency on io_thread_get().
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 28 Dec, 2016 1 commit
-
-
Max Kellermann authored
-
- 09 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 02 Nov, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 09 Sep, 2016 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Make all the locks exception-safe.
-
- 23 Aug, 2016 1 commit
-
-
Earnestly authored
Currently the switch statement is invalidated by ss.format being overwritten with the default value of PA_SIMPLE_S16NE which results in white noise during playback as my server is expected S16LE (S16NE). Signed-off-by:
Earnestly <zibeon@gmail.com>
-
- 15 Aug, 2016 2 commits
-
-
Nils Schneider authored
This is based on a patch from Ian Scott in 2014. It was never committed, so I figured I'd fix the outstanding issue and resubmit it. https://www.mail-archive.com/mpd-devel%40musicpd.org/msg00139.html
-
Max Kellermann authored
-