1. 01 Jan, 2010 1 commit
  2. 02 Dec, 2009 1 commit
  3. 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
  4. 10 Nov, 2009 1 commit
  5. 07 Nov, 2009 1 commit
    • Max Kellermann's avatar
      set the close-on-exec flag on all file descriptors · e3af0032
      Max Kellermann authored
      Added the "fd_util" library, which attempts to use the new thread-safe
      Linux system calls pipe2(), accept4() and the options O_CLOEXEC,
      SOCK_CLOEXEC.  Without these, it falls back to FD_CLOEXEC, which is
      not thread safe.
      
      This is particularly important for the "pipe" output plugin (and
      others, such as JACK/PulseAudio), because we were heavily leaking file
      descriptors to child processes.
      e3af0032
  6. 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
  7. 26 Feb, 2009 2 commits
    • Max Kellermann's avatar
      mvp: fixed default device detection · dfea6b7c
      Max Kellermann authored
      The check "open()!=0" is wrong, you have to write "open()>=0", because
      -1 means error, and 0 is a valid file handle.
      dfea6b7c
    • Max Kellermann's avatar
      output_plugin: report errors with GError · ec926539
      Max Kellermann authored
      Use GLib's GError library for reporting output device failures.
      
      Note that some init() methods don't clean up properly after a failure,
      but that's ok for now, because the MPD core will abort anyway.
      ec926539
  8. 25 Feb, 2009 11 commits
  9. 23 Feb, 2009 2 commits
    • Max Kellermann's avatar
      output: pass the music chunk pointer as void*, not char* · a4dfab2a
      Max Kellermann authored
      The meaning of the chunk depends on the audio format; don't suggest a
      specific format by declaring the pointer as "char*", pass "void*"
      instead.
      a4dfab2a
    • Max Kellermann's avatar
      output_api: play() returns a length · 5a898c15
      Max Kellermann authored
      The old API required an output plugin to not return until all data
      passed to the play() method is consumed.  Some output plugins have to
      loop to fulfill that requirement, and may block during that.  Simplify
      these, by letting them consume only part of the buffer: make play()
      return the length of the consumed data.
      5a898c15
  10. 30 Jan, 2009 1 commit
  11. 25 Jan, 2009 2 commits
  12. 17 Jan, 2009 1 commit
  13. 05 Jan, 2009 2 commits
  14. 01 Jan, 2009 1 commit
  15. 25 Nov, 2008 1 commit
  16. 29 Oct, 2008 2 commits
  17. 26 Oct, 2008 2 commits
  18. 10 Oct, 2008 5 commits
  19. 29 Sep, 2008 1 commit
    • Max Kellermann's avatar
      use C99 struct initializers · de7cda1d
      Max Kellermann authored
      The old struct initializers are error prone and don't allow moving
      elements around.  Since we are going to overhaul some of the APIs
      soon, it's easier to have all implementations use C99 initializers.
      de7cda1d
  20. 24 Sep, 2008 1 commit