- 20 Jul, 2022 1 commit
-
-
Rosen Penev authored
Properly deals with iconv, unlike the current solution. have_iconv fails when libiconv CFLAGS are passed to the compiler. Tested under OpenWrt with its CONFIG_BUILD_NLS, which adds libiconv include flags. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
- 12 Jul, 2022 6 commits
-
-
guihkx authored
Closes #1564
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Required by Google Play.
-
Max Kellermann authored
This is required for targetSdkVersion=30. apksigner requires running zipalign first.
-
- 08 Jul, 2022 33 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Deactivate the stream in Cancel(). This fixes stuttering after a manual song change by refilling the whole ring buffer before reactivating the stream. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1354
-
Max Kellermann authored
Clear not only MPD's ring buffer, but also libpipewire's buffers, to avoid playing some audio from the previous song after a manual song change. Fixes part 1 of https://github.com/MusicPlayerDaemon/MPD/issues/1354
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Removing the LockHasClients(); this code was copied from the "httpd" output plugin, but unlike "httpd", the SnapCast output plugin does not feed silence while paused, so we need to implement a delay to avoid busy-looping the CPU. As a side effect, this eliminates the suttering after resuming playback, because the timer now gets reset even if there is a client. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1394
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1484
-
Max Kellermann authored
After connecting, PipeWire sometimes sends SPA_PROP_channelVolumes with no values, and this led to "volume=-NaN".
-
Max Kellermann authored
Since PipeWire 0.3.53, there is no control name anymore, therefore the name check doesn't work anymore, breaking volume change events. This obsoletes the crash bug fix in commit 2ee57f9b
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes a potential crash bug.
-
Max Kellermann authored
This is a lower-level function without some of the clutter of PipeWireOutput::SetVolume() which is not needed in that case.
-
Max Kellermann authored
-
Max Kellermann authored
This disables a long delay for playing songs from the cdio_paranoia input plugin if ReplayGain is enabled.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The Read() method is not required to fill the whole buffer. By returning as soon as at least one byte was read, we allow faster cancellation.
-
Max Kellermann authored
-
Max Kellermann authored
If seeking fails, don't leave the class with a wrong offset.
-
Max Kellermann authored
-
Max Kellermann authored
Use "size" instead.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
cdio_get_devices_with_cap() can return nullptr if no drive was found, or it can instead return an empty list. The latter caused MPD to crash.
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1532
-
Max Kellermann authored
If the PipeWire output has not yet been enabled and no thread_loop has been created yet, a nullptr dereference in SetVolume() was possible because nullptr was passed to pw_thread_loop_lock().
-
Max Kellermann authored
If a mixer is not open, rethrow the original exception each time setting the volume is requested. This further improves error messages sent to MPD clients.
-
Max Kellermann authored
If a mixer is "global", it is available even if the output isn't open. However, since the check was changed from IsEnabled() to IsReallyEnabled(), enabled outputs have not yet been used have not been "really" enabled yet, preventing using the mixer. Fixes a regression by commit 35dbc1a9 (part of https://github.com/MusicPlayerDaemon/MPD/pull/1480). Closes https://github.com/MusicPlayerDaemon/MPD/issues/1563
-