- 08 Jan, 2017 13 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
libcurl's WRITEFUNCTION is pretty fragile; if we destroy the CURL* instance or even unregister it using curl_multi_remove_handle(), libcurl will crash instantly. But still we need to be able to handle exceptions from inside the WRITEFUNCTION, and call CurlResponseHandler::OnError(), which may destroy the whole thing. As a workaround, I use DeferredMonitor to postpone the OnError() call into a stack frame which is allowed to destroy the request.
-
Max Kellermann authored
Let the caller decide what to do with the exception.
-
Max Kellermann authored
When the request is done, only unregister the CURL* handle, but do not delete it yet - it may still be needed for CURLINFO_RESPONSE_CODE.
-
Max Kellermann authored
Convert assertion to runtime check. This is useful because this is a public method, and the caller has no chance to check if the object is still registered.
-
Max Kellermann authored
Fixes a crash that can occur due to recursion from InvalidateSockets() to ReadInfo() to CurlRequest callbacks.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Jan, 2017 8 commits
-
-
Max Kellermann authored
Move code from SongFilter.cxx.
-
TermeHansen authored
Changed AlsaMixerPlugin to use the get and set normalized functions from volume_mapping of alsa-utils/alsamixer Changed volume_mapping set volume to be for all channels and not per channel added volume_mapping files to Makefile.am
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This allows constructing an instance in any thread, and register it inside the IOThread later.
-
Max Kellermann authored
Eliminate one unnecessary dependency for debug programs which don't need the InputStream API.
-
Max Kellermann authored
-
- 06 Jan, 2017 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Not used. Force implementations to initialize out_audio_format.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 05 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 04 Jan, 2017 10 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Problems found by "make distcheck".
-
Eugene Baklanov authored
Fix for the problem where order with priorities gets out of whack in case it's reordered by SetRandom() while another song is currently playing. What happens is, if some song is already playing and you have set some priorities before switching on the random mode, and then turn the mode on, the original code swaps position of the first song in the order (i.e., the highest priority song) with current, so that current is 0 (which it should be). The problem is, the "original" first song then goes to the place "current" song was after reordering, wherever that is, instead of going after the "current" song. This patch fixes the issue. Also the fix makes MoveOrder() public, because why shouldn't it be, anyway. It certainly makes more sense than just having SwapOrders() public for some reason. Signed-off-by: Eugene Baklanov <miltenfiremage@gmail.com>
-
Max Kellermann authored
-
Max Kellermann authored
-