1. 12 Nov, 2021 1 commit
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      SonarLint reports the latter to be better:
      
      std::scoped_lock basically provides the same feature as std::lock_guard,
      but is more generic: It can lock several mutexes at the same time, with a
      deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
      to perform simultaneous locking with std::lock_guard is significantly more
      complex. Therefore, it is simpler to use std::scoped_lock all the time,
      even when locking only one mutex (there will be no performance impact).
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  2. 01 Jan, 2021 1 commit
  3. 12 Mar, 2020 1 commit
  4. 18 Jan, 2020 1 commit
  5. 05 Jul, 2019 1 commit
  6. 17 Jun, 2019 1 commit
  7. 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
  8. 31 Oct, 2018 1 commit
  9. 23 Jun, 2018 2 commits
  10. 22 Jun, 2018 2 commits
  11. 04 Jun, 2017 1 commit
  12. 08 May, 2017 1 commit
  13. 03 Jan, 2017 2 commits
  14. 26 Feb, 2016 1 commit
  15. 01 Jan, 2015 1 commit
  16. 12 Aug, 2014 1 commit
  17. 13 Jan, 2014 1 commit
  18. 30 Oct, 2013 1 commit
  19. 26 Sep, 2013 2 commits
  20. 03 Aug, 2013 1 commit
  21. 04 Jan, 2013 4 commits
  22. 20 Jul, 2011 1 commit
  23. 29 Jan, 2011 1 commit
  24. 01 Jan, 2010 1 commit
  25. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  26. 11 May, 2009 1 commit
  27. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      Avuton Olrich authored
      This updates the copyright header to all be the same, which is
      pretty much an update of where to mail request for a copy of the GPL
      and the years of the MPD project. This also puts all committers under
      'The Music Player Project' umbrella. These entries should go
      individually in the AUTHORS file, for consistancy.
      0aee49bd
  28. 09 Mar, 2009 1 commit
  29. 08 Mar, 2009 1 commit
    • Max Kellermann's avatar
      music_chunk: added assertions on the audio format · 94d1a87d
      Max Kellermann authored
      In !NDEBUG, remember which audio_format is stored in every chunk and
      every pipe.  Check the audio_format of every new data block appended
      to the music_chunk, and the format of every new chunk appended to the
      music_pipe.
      94d1a87d
  30. 07 Mar, 2009 3 commits
  31. 05 Mar, 2009 1 commit
    • Max Kellermann's avatar
      pipe: added music_buffer, rewrite music_pipe · 01cf7fea
      Max Kellermann authored
      Turn the music_pipe into a simple music_chunk queue.  The music_chunk
      allocation code is moved to music_buffer, and is now managed with a
      linked list instead of a ring buffer.  Two separate music_pipe objects
      are used by the decoder for the "current" and the "next" song, which
      greatly simplifies the cross-fading code.
      01cf7fea