1. 29 Jan, 2011 1 commit
  2. 18 Nov, 2010 1 commit
    • Max Kellermann's avatar
      timer: fix integer overflow in timer_delay() · 8f46f152
      Max Kellermann authored
      Fixes a regression: for output_plugin.delay(), we added a method to
      the timer class which returns the delay in milliseconds.  This fails
      to detect negative values, because the unsigned integer is divided by
      1000, and then casted to signed.
      8f46f152
  3. 05 Nov, 2010 2 commits
  4. 01 Jan, 2010 1 commit
  5. 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
  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. 19 Feb, 2009 1 commit
    • Max Kellermann's avatar
      utils: use g_usleep() instead of my_usleep() · e7131b5d
      Max Kellermann authored
      Now that I've found this nice function in the GLib docs, we can
      finally remove our custom sleep function.  Still all those callers of
      g_usleep() have to be migrated one day to use events, instead of
      regular polling.
      e7131b5d
  8. 03 Jan, 2009 1 commit
  9. 10 Oct, 2008 2 commits
  10. 08 Oct, 2008 1 commit
  11. 09 Sep, 2008 1 commit
    • Max Kellermann's avatar
      timer: constant pointers · 182746b9
      Max Kellermann authored
      The audio_format argument to timer_new() should be constant, because
      it is not modified.  The same is true for ShoutData.audioFormat.
      182746b9
  12. 07 Sep, 2008 1 commit
  13. 26 Jan, 2008 1 commit
  14. 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
  15. 12 Jun, 2007 1 commit
    • J. Alexander Treuman's avatar
      Redoing remiss's shout patch. This time, just block on open() instead of · 3c5cecb8
      J. Alexander Treuman authored
      pretending to play while we wait for the connection to timeout.  This
      removes the need for timers, and thus removes the now unnecessary
      timer_get_runtime_* function(s) from the timer code.
      
      The changes made compared to the pre-patch shout plugin are:
      * Block while connecting, timing out after 2 seconds.
      * Close the device, and not just the connection, if play returns -1.
      * Remove sd->last_err (it's always assigned before use).
      * Some minor cleanups.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@6555 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      3c5cecb8
  16. 09 Jun, 2007 2 commits
  17. 30 May, 2007 1 commit