1. 17 Jul, 2018 2 commits
  2. 16 Jul, 2018 2 commits
  3. 06 Jul, 2018 1 commit
  4. 15 Mar, 2018 2 commits
    • Max Kellermann's avatar
      pcm/PcmDop: round down to the nearest multiple of 4 DSD bytes · a2340c31
      Max Kellermann authored
      There was a discrepancy between what was written to the buffer and the
      size returned by pcm_dsd_to_dop(): the "for" loop uses num_frames/2,
      rounding down, while the return value is num_samples which is
      num_frames*channels, without rounding.  This could cause undefined
      data at the end of the destination buffer if the source buffer size
      was not aligned to multiples of 8 bytes (4 DSD bytes per channel).
      
      The latter however can occur in the 0.21 branch after commit
      a06bf388
      
      Closes #233
      a2340c31
    • Max Kellermann's avatar
      pcm/PcmDop: use size_t · 37b07a5e
      Max Kellermann authored
      37b07a5e
  5. 09 Feb, 2018 1 commit
  6. 02 Jan, 2018 2 commits
  7. 01 Jan, 2018 1 commit
  8. 23 Dec, 2017 1 commit
  9. 18 Dec, 2017 1 commit
  10. 12 Dec, 2017 1 commit
  11. 10 Nov, 2017 1 commit
  12. 26 Oct, 2017 5 commits
  13. 04 Jun, 2017 1 commit
  14. 03 Jun, 2017 1 commit
    • Max Kellermann's avatar
      storage, db, mixer, command: remove more bogus "pure" attributes · 62b03cfd
      Max Kellermann authored
      This commit is similar to 788e3b31,
      and removes more "pure" attributes which were placed on functions that
      could throw exceptions, which is illegal according to clang's
      understanding of the attribute (but not according to GCC's).  GitHub
      issue #58 was most likely about StorageDirectoryReader::GetInfo() and
      Storage::GetInfo(), which still had "pure" attributes.
      
      Closes #58
      62b03cfd
  15. 08 May, 2017 1 commit
  16. 24 Apr, 2017 1 commit
  17. 22 Apr, 2017 2 commits
  18. 27 Jan, 2017 1 commit
  19. 20 Jan, 2017 2 commits
  20. 19 Jan, 2017 1 commit
    • Max Kellermann's avatar
      pcm/PcmChannels: silence surround channels when converting from stereo · 33716732
      Max Kellermann authored
      Previously, there was no special code to convert stereo to
      multi-channel.  The generic solution for this was to convert to mono,
      and then copy the result to all channels.  That's a pretty bad
      solution, but at least something which always renders audio.  MPD does
      something, instead of failing.
      
      Now that MPD has proper support for multi-channel (by defining the
      channel order), we can do better than that.  It is a (somewhat) common
      case to play back stereo music on a DAC which can only do
      multi-channel.  The best approach here is to copy the stereo channels
      to front-left and front-right, and apply the "silence" pattern to all
      other channels.
      33716732
  21. 17 Jan, 2017 2 commits
  22. 11 Jan, 2017 8 commits