1. 17 Jul, 2018 7 commits
  2. 16 Jul, 2018 2 commits
  3. 03 Jun, 2018 1 commit
  4. 04 Mar, 2018 1 commit
    • Christian Kröner's avatar
      Get rid of GCD on macOS which breaks debug builds · 79535212
      Christian Kröner authored
      With Grand Central Dispatch used in Main.cxx, debug builds on macOS
      crash as the IsInside() assertion gets triggered in the event loop. As
      a simple fix, usage of GCD is removed. Plugging and unplugging
      headphones or changes of the default output device was tested without
      issues. Whatever the original commit tried to fix by GCD probably does
      not need fixing anymore.
      79535212
  5. 24 Feb, 2018 1 commit
  6. 16 Feb, 2018 1 commit
    • Max Kellermann's avatar
      output/alsa: use a new I/O thread with real-time scheduling · d29d186d
      Max Kellermann authored
      The normal I/O event thread can have a large latency, e.g. when
      libgnutls loads all TLS CA certificates for a https connect.  This
      makes it unreliable for the ALSA I/O notifications, and causes ring
      buffer xruns.  To avoid interfering with high latency events such as
      CURL's, we move the ALSA I/O events to a separate I/O thread which
      also obtains real-time scheduling (if possible).
      
      Closes #221
      d29d186d
  7. 29 Jan, 2018 4 commits
  8. 17 Jan, 2018 1 commit
  9. 02 Jan, 2018 2 commits
  10. 19 Dec, 2017 1 commit
  11. 12 Dec, 2017 1 commit
  12. 24 Aug, 2017 1 commit
  13. 16 May, 2017 1 commit
  14. 15 May, 2017 3 commits
  15. 08 May, 2017 1 commit
    • Max Kellermann's avatar
      *: remove "pure" and "const" attributes from throwing functions · 788e3b31
      Max Kellermann authored
      The "pure" and "const" attributes are not so well-defined, and a
      recent clang version implements an optimization which pushes the
      definition's boundary beyond what I believed it was.  clang now
      assumes that functions declared "pure" cannot throw exceptions, even
      if they lack the "noexcept" specification.
      
      When compiled with this new clang version, MPD will crash randomly if
      an exception happens to get thrown by such as "pure" function
      (https://github.com/MusicPlayerDaemon/MPD/issues/41).
      
      This commit removes all such misplaced "pure" and "const" attributes,
      closing #41.
      788e3b31
  16. 17 Feb, 2017 2 commits
  17. 10 Feb, 2017 1 commit
  18. 09 Feb, 2017 1 commit
    • Max Kellermann's avatar
      Main: use the IOThread for outputs and mixers · 853740f1
      Max Kellermann authored
      The main EventLoop can block for a long time while a client's command
      runs, and is therefore inappropriate for internal engine I/O.  This
      fixes a serious regression for at least the "httpd" output, which used
      to be hard-coded for the IOThread, but now receives the main EventLoop
      as an initialization parameter.
      
      For the mixers, this doesn't make much of a difference.  They are not
      latency critical.
      853740f1
  19. 08 Feb, 2017 1 commit
  20. 26 Jan, 2017 1 commit
  21. 23 Jan, 2017 1 commit
  22. 03 Jan, 2017 2 commits
  23. 28 Dec, 2016 2 commits
  24. 09 Dec, 2016 1 commit