1. 23 Jul, 2009 1 commit
  2. 22 Jul, 2009 2 commits
  3. 19 Jul, 2009 2 commits
  4. 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
  5. 02 Mar, 2009 2 commits
    • Max Kellermann's avatar
      audio_format: allow 32 bit samples · 062f3707
      Max Kellermann authored
      This is the first patch in a series to enable 32 bit audio samples in
      MPD.  32 bit samples are more tricky than 24 bit samples, because the
      integer may overflow when you operate on a sample.
      062f3707
    • Max Kellermann's avatar
      audio_format: allow up to 8 channels · 8c0bce0b
      Max Kellermann authored
      audio_valid_sample_format() verifies the number of channels.  Let's
      just say up to 8 channels is allowed (which is possible with some
      consumer sound chips).  I don't know if there are bigger cards, and
      since I cannot test it, I'll limit it to 8 for now.
      8c0bce0b
  6. 11 Feb, 2009 1 commit
  7. 21 Nov, 2008 1 commit
  8. 31 Oct, 2008 1 commit
    • Max Kellermann's avatar
      added prefix to header macros · ea515494
      Max Kellermann authored
      "LOG_H" is a macro which is also used by ffmpeg/log.h.  This is
      ffmpeg's fault, because short macros should be reserved for
      applications, but since it's always a good idea to choose prefixed
      macro names, even for applications, we are going to do that in MPD.
      ea515494
  9. 10 Oct, 2008 3 commits
  10. 08 Oct, 2008 1 commit
  11. 29 Sep, 2008 2 commits
  12. 23 Sep, 2008 1 commit
  13. 10 Sep, 2008 1 commit
    • Max Kellermann's avatar
      audio_format: added audio_format_clear() and audio_format_defined() · d9254369
      Max Kellermann authored
      audio_format_clear() sets an audio_format struct to an cleared
      (undefined) state, which is both faster and smaller than memset(0).
      audio_format_defined() checks if the audio_format struct actually has
      a defined value (i.e. non-zero).  Both can be used to avoid pointers
      to audio_format, replacing the "NULL" value with an "undefined"
      audio_format.
      d9254369
  14. 09 Sep, 2008 1 commit
  15. 07 Sep, 2008 3 commits
    • Max Kellermann's avatar
      pack the struct audio_format · dc7c6bd1
      Max Kellermann authored
      Due to clumsy layout, the audio_format struct took 12 bytes.  Move the
      "channels" to the end, so it can be merged into the same 32 bit slot
      as "bits", which reduces the struct size to 8 bytes.
      dc7c6bd1
    • Max Kellermann's avatar
      audio_format: converted typedef AudioFormat to struct audio_format · f1dd9c20
      Max Kellermann authored
      Get rid of CamelCase, and don't use a typedef, so we can
      forward-declare it, and unclutter the include dependencies.
      f1dd9c20
    • Eric Wong's avatar
      audio_format: volatile removal · 18fc10a9
      Eric Wong authored
      volatile provides absolutely no guarantee thread-safety in SMP
      environments.  volatile was designed to access memory locations
      in peripheral hardware directly; not for SMP.  If volatile is
      needed to work properly on SMP, then it is only hiding subtle
      bugs.
      
      volatile only prevents the /compiler/ from making optimizations
      when accessing variables.  CPUs do their own optimizations at
      runtime so it cannot guarantee registers of CPUs are flushed
      to memory cache-coherent access on different CPUs.
      
      Furthermore, the thread-communication via condition variables
      between threads sharing audio formats already results in memory
      barriers.
      18fc10a9
  16. 26 Aug, 2008 2 commits
  17. 12 Apr, 2008 1 commit
    • Max Kellermann's avatar
      clean up CPP includes · c89b358c
      Max Kellermann authored
      Try to only include headers which are really needed.  We should
      particularly check all "headers including other headers".  The
      long-term goal is to have a manageable, small API for plugins
      (decoders, output) without so many mpd internals cluttering the
      namespace.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      c89b358c
  18. 03 Jan, 2008 1 commit
    • Eric Wong's avatar
      Cleanup #includes of standard system headers and put them in one place · cb8f1af3
      Eric Wong authored
      This will make refactoring features easier, especially now that
      pthreads support and larger refactorings are on the horizon.
      
      Hopefully, this will make porting to other platforms (even
      non-UNIX-like ones for masochists) easier, too.
      
      os_compat.h will house all the #includes for system headers
      considered to be the "core" of MPD.  Headers for optional
      features will be left to individual source files.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      cb8f1af3
  19. 01 Jun, 2007 1 commit
  20. 05 Apr, 2007 1 commit
  21. 11 Jan, 2007 1 commit
  22. 20 Aug, 2006 1 commit
  23. 20 Jul, 2006 1 commit
  24. 14 Jul, 2006 2 commits
  25. 13 Jul, 2006 1 commit
  26. 16 Nov, 2005 1 commit
  27. 13 Mar, 2005 1 commit
  28. 06 Mar, 2005 1 commit
  29. 03 Nov, 2004 2 commits