1. 03 Aug, 2019 12 commits
  2. 02 Aug, 2019 18 commits
  3. 29 Jul, 2019 4 commits
  4. 12 Jul, 2019 2 commits
  5. 03 Jul, 2019 1 commit
  6. 28 Jun, 2019 3 commits
    • Max Kellermann's avatar
      output/alsa: log when generating silence due to slow decoder · f780ac41
      Max Kellermann authored
      MPD used to do that when this code lived in the player thread, but it
      was removed by commit 98a7c62d; and
      the replacement code in the ALSA output plugin didn't have it.
      f780ac41
    • Max Kellermann's avatar
      output/alsa: schedule a timer to generate silence · 61a72a5d
      Max Kellermann authored
      Without this timer, DispatchSockets() may disable the
      MultiSocketMonitor and if Play() doesn't get called soon, it never
      gets a chance to generate silence.  However if Play() gets called,
      generating silence isn't necessary anymore...
      
      Resulting from this misdesign (added by commit ccafe3f3 in 0.21.3),
      the silence generator didn't work reliably.
      61a72a5d
    • Max Kellermann's avatar
      output/alsa: add a new flag "waiting" for xrun management · 0c0a3547
      Max Kellermann authored
      In DispatchSockets(), when there was not enough data, but enough for
      current playback, the method would disable the "active" flag so the
      next Play() call would re-enable the MultiSocketMonitor.
      
      This was an abuse of the flag which could result in a crash
      in Cancel(), because that method asserts that the period_buffer is
      empty, which it may be not.
      
      The solution is to add anther flag called "waiting" which shares some
      behavior with the old flag.
      0c0a3547