- 06 Nov, 2013 6 commits
-
-
Max Kellermann authored
Migrate from the old curl_multi_perform() API to the newer curl_multi_socket_action() API (since CURL 7.16). This allows working around a bug with HTTP redirections with epoll: when CURL closes a socket and the new one happens to have the same file number, MPD did not have a chance to remove the old one from epoll and subsequently attempted to use EPOLL_CTL_MOD, which was not allowed by epoll, because it's a new socket now.
-
Max Kellermann authored
Move all global variables there, and keep just one global variable: the pointer to the CurlMulti instance. Prepares for the next commit.
-
Max Kellermann authored
Unused.
-
Max Kellermann authored
Eliminate some complicated code that's not worth the trouble.
-
Max Kellermann authored
Replaces the loop in input_curl_find_request().
-
Max Kellermann authored
-
- 05 Nov, 2013 7 commits
-
-
Max Kellermann authored
D'oh!
-
Max Kellermann authored
Remove the forward_list::reverse() call. It was not necessary, because pls_parser() already reads the playlist in reverse order.
-
Jurgen Kramer authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Natanael Copa authored
Fixes building with gcc-4.8 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
-
Max Kellermann authored
-
- 04 Nov, 2013 13 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
See code comment.
-
Max Kellermann authored
First check if an IPv6 socket can be created.
-
Max Kellermann authored
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
-
Max Kellermann authored
-
Max Kellermann authored
Fixes bogus test failures on Debian build machines due to rounding errors (hopefully).
-
Max Kellermann authored
Regression from previous commit. D'oh!
-
Max Kellermann authored
Use a std::list which can be appended at the end.
-
Max Kellermann authored
getnameinfo() doesn't work well - it always returns "localhost".
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This prevented using the "volume_normalization" feature with some codecs (e.g. mp3), because the normalization code requires 16 bit samples. If the codec happens to deliver formats other than S16, the AutoConvert filter succeeds to initialize the conversion filter, but the returned input audio format was wrong.
-
Max Kellermann authored
-
- 30 Oct, 2013 14 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Skip the global destructors. We don't need them here - we bail out as quickly as we can.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes assertion failure.
-
Max Kellermann authored
-
Max Kellermann authored
mixramp_delay==nan() causes severe problems with cross-fading.
-
Max Kellermann authored
2 MB was too small for cross-fading a 24 bit file. Increasing to 4 MB is still not too large for weak machines, but is enough for cross-fading.
-
Max Kellermann authored
-
Max Kellermann authored
-