1. 23 Jan, 2017 10 commits
  2. 20 Jan, 2017 6 commits
  3. 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
  4. 18 Jan, 2017 1 commit
  5. 17 Jan, 2017 13 commits
  6. 16 Jan, 2017 3 commits
  7. 15 Jan, 2017 4 commits
  8. 14 Jan, 2017 2 commits
    • Max Kellermann's avatar
      lib/nfs: add more API documentation · 6c293a3d
      Max Kellermann authored
      6c293a3d
    • Max Kellermann's avatar
      DetachedSong: compare start_time and end_time in IsSame() · e847ddf0
      Max Kellermann authored
      This method is used by DecoderControl::IsCurrentSong(), which is used
      by the player thread to check whether the current decoder instance can
      be reused to seek.  When switching to another song in the same CUE
      sheet, previously DetachedSong::IsSame() returned true, and thus the
      old decoder instance was used for the new song, not considering the
      new end_time.  This led to the old decoder quickly quitting.
      e847ddf0