- 20 Dec, 2023 13 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
borine authored
snd_pcm_poll_descriptors_revents() may return any error code; the ALSA docs do not constrain the permitted values. A 'hw' device will only ever return an error if the pfd array passed in is invalid (-EINVAL), but other I/O plugins may return arbitary errors. For example a network-based device may return -EPIPE etc. The resulting exception thrown by AlsaNonBlockPcm::DispatchSockets() must be caught to prevent the mpd process from being aborted.
-
Colin Edwards authored
-
Max Kellermann authored
-
borine authored
Some ALSA capture devices can have very large buffers, holding 10 seconds or more audio. Using the maximum buffer size with such devices leads to unacceptably large, and unnecessary, latency. Also, some ALSA drivers (e.g. HDA Intel PCH) report an invalid maximum period size, and the period size that mpd calculates from the maximum buffer size results in "Invalid argument" error when applying the hw_params. Note that the "default" capture device on many cards includes the "dsnoop" plugin which imposes a buffer size of 16384 frames, so that "alsa://" works OK but "alsa://plughw" or "alsa://hw" both fail. Limit the maximum buffer time for ALSA input devices to a more useable 2 seconds, thereby avoiding both the above problems.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Works around CURL build failure because cmake insists on using /usr/include/zlib.h.
-
Max Kellermann authored
-
naglis authored
-
- 21 Nov, 2023 2 commits
-
-
skidoo23 authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1898
-
Max Kellermann authored
-
- 08 Oct, 2023 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 26 Sep, 2023 23 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Without this, the AMD64 build installs to "lib64/" which then cannot be found by CURL.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
We do not need "make" dependencies for one-time builds.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-