1. 06 Nov, 2019 1 commit
  2. 29 Oct, 2019 1 commit
  3. 22 Aug, 2019 1 commit
  4. 21 Aug, 2019 1 commit
  5. 13 Aug, 2019 1 commit
  6. 06 Aug, 2019 3 commits
  7. 02 Aug, 2019 1 commit
  8. 28 Jun, 2019 8 commits
  9. 17 Jun, 2019 1 commit
  10. 05 Jun, 2019 3 commits
  11. 04 Apr, 2019 1 commit
  12. 03 Apr, 2019 2 commits
  13. 29 Mar, 2019 1 commit
  14. 17 Mar, 2019 2 commits
  15. 16 Mar, 2019 1 commit
  16. 26 Jan, 2019 1 commit
    • Yue Wang's avatar
      [OSXOutput] Throw an error when device not found · 42b22187
      Yue Wang authored
      Currently it falls back to system default device (either internal speaker or headphone) when device not found. 
      I believe it is a better to fail in this case, to make it better aligned with platforms (such as alsa).
      42b22187
  17. 21 Jan, 2019 1 commit
  18. 19 Jan, 2019 1 commit
  19. 28 Dec, 2018 5 commits
  20. 14 Dec, 2018 1 commit
  21. 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
  22. 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
  23. 14 Nov, 2018 1 commit
    • Max Kellermann's avatar
      output/alsa: drain the whole `ring_buffer`, not just one period · 436ba3c9
      Max Kellermann authored
      This fixes a problem which caused a failure with snd_pcm_writei()
      because snd_pcm_drain() had already been called in the previous
      iteration.  This commit makes sure that snd_pcm_drain() is only called
      after the final snd_pcm_writei() call.
      
      This fixes discarded samples at the end of playback.
      436ba3c9