1. 23 May, 2019 1 commit
  2. 07 May, 2019 2 commits
  3. 26 Apr, 2019 9 commits
  4. 25 Apr, 2019 1 commit
  5. 04 Apr, 2019 1 commit
  6. 03 Apr, 2019 2 commits
  7. 29 Mar, 2019 1 commit
  8. 17 Mar, 2019 2 commits
  9. 16 Mar, 2019 1 commit
  10. 08 Mar, 2019 1 commit
  11. 26 Jan, 2019 1 commit
  12. 21 Jan, 2019 1 commit
  13. 19 Jan, 2019 1 commit
  14. 28 Dec, 2018 5 commits
  15. 14 Dec, 2018 1 commit
  16. 19 Nov, 2018 1 commit
    • Max Kellermann's avatar
      check.h: remove obsolete header · ce49d99c
      Max Kellermann authored
      Since we switched from autotools to Meson in commit
      94592c14, we don't need to include
      `config.h` early to properly enable large file support.  Meson passes
      the required macros on the compiler command line instead of defining
      them in `config.h`.
      
      This means we can include `config.h` at any time, whenever we want to
      check its macros, and there are no ordering constraints.
      ce49d99c
  17. 16 Nov, 2018 1 commit
    • Max Kellermann's avatar
      output/alsa: don't call snd_pcm_drain() if nothing was written · 4cdcaa86
      Max Kellermann authored
      Works around a problem where MPD goes into a busy loop because
      snd_pcm_drain() always returns `-EAGAIN` without making any progress
      (fixes #425).
      
      This problem was triggered by snd_pcm_drain() after snd_pcm_cancel()
      and snd_pcm_prepare(), but without submitting any data with
      snd_pcm_writei().
      
      I believe this is a kernel bug: in non-blocking mode, the kernel's
      snd_pcm_drain() function returns early.  In this mode, it only checks
      whether snd_pcm_drain_done() has been called already, but
      snd_pcm_drain_done() is never called if no data was submitted.
      
      In blocking mode, the following `for` loop detects this condition, so
      snd_pcm_drain_done() is not necessary, but without this extra check,
      we get `-EAGAIN` forever.
      4cdcaa86
  18. 14 Nov, 2018 8 commits