- 13 Nov, 2017 2 commits
-
-
Max Kellermann authored
InputStream::Read() and InputStream::Seek() are called with the mutex locked. That means the implementation must not block, or unlock the mutex before calling into blocking code. Previously, a slow CD drive could stall the whole MPD process, including the main thread, due to this problem. Closes #149
-
Max Kellermann authored
-
- 24 Oct, 2017 3 commits
-
-
Max Kellermann authored
It's not possible to set CURL options after curl_easy_perform(), and thus the CURLOPT_RANGE had no effect.
-
Max Kellermann authored
-
Max Kellermann authored
From the CURLOPT_RANGE documentation: "The application does not have to keep the string around after setting this option."
-
- 04 Jun, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 01 Mar, 2017 2 commits
-
-
Max Kellermann authored
Fixes a GCC warning because %llu appears to be unsupported by the Windows standard library.
-
Max Kellermann authored
-
- 10 Feb, 2017 1 commit
-
-
Max Kellermann authored
Yet another potential crash bug fix.
-
- 09 Feb, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Doesn't make a practical difference - but it's more correct this way.
-
- 25 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 14 Jan, 2017 8 commits
-
-
Max Kellermann authored
This way, we have four periods instead of the default of two. With only two periods, we don't get woken up often enough, and we frequently encounter buffer overruns. With four periods, we have more time to breathe, and the buffer overruns magically disappear.
-
Max Kellermann authored
This setting is mostly useless for capture devices. There's no point in configuring it.
-
Max Kellermann authored
-
Steven O'Brien authored
-
Steven O'Brien authored
-
Max Kellermann authored
This is necessary because we'll never get woken up again by epoll_wait() after a buffer overrun recovery, unless we start the PCM explicitly before returning to the I/O loop.
-
Max Kellermann authored
Copy yet more code from the ALSA output plugin.
-
Max Kellermann authored
Copy some good code from the ALSA output plugin.
-
- 13 Jan, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Fixes assertion failure in implicit destructor.
-
- 09 Jan, 2017 1 commit
-
-
Max Kellermann authored
Call SeekDone() to avoid the freeze bug.
-
- 07 Jan, 2017 1 commit
-
-
Max Kellermann authored
This allows constructing an instance in any thread, and register it inside the IOThread later.
-
- 06 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 7 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The CurlRequest gives us a more low-level API to CURL without the InputStream interface, integrated into our IOThread.
-
Max Kellermann authored
-
Max Kellermann authored
Simplifies the code and reduces the number of IOThread roundtrips.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 28 Dec, 2016 1 commit
-
-
Max Kellermann authored
-
- 19 Dec, 2016 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 16 Nov, 2016 1 commit
-
-
Max Kellermann authored
-
- 10 Nov, 2016 1 commit
-
-
Max Kellermann authored
-