1. 04 Jul, 2019 2 commits
    • Max Kellermann's avatar
      output/alsa: check ring buffer space before writing to it · 0a32634d
      Max Kellermann authored
      Pass only the amount of data to PcmExport::Export() when its full
      output fits into the ring buffer.  Using only a part of the
      PcmExport::Export() result may cause data corruption because
      PcmExport's internal state may contain partial blocks which would need
      to be rolled back when only some of its output data was used.
      
      As a side effect, this fixes an assertion failure because
      PcmExport::CalcInputSize() considered partial block data and could
      cause Play() to return a number larger than the "size" parameter.
      0a32634d
    • Max Kellermann's avatar
      output/alsa: throw unexpected snd_pcm_writei() errors · b12fc3c6
      Max Kellermann authored
      If snd_pcm_writei() fails, throw an error and stop playback instead
      of going into an endless busy loop.
      b12fc3c6
  2. 03 Jul, 2019 10 commits
  3. 01 Jul, 2019 2 commits
  4. 28 Jun, 2019 12 commits
  5. 27 Jun, 2019 10 commits
  6. 26 Jun, 2019 4 commits