1. 10 Mar, 2009 2 commits
  2. 09 Mar, 2009 1 commit
    • Max Kellermann's avatar
      added memory poisoning library · fd76e29f
      Max Kellermann authored
      Memory poisoning is useful for marking memory regions as "undefined".
      This poisoning only enabled in the debug build (!NDEBUG).
      fd76e29f
  3. 07 Mar, 2009 1 commit
    • David Guibert's avatar
      pulse mixer · 21bb10f4
      David Guibert authored
      This patch introduces the mixer for the pulse output.
      
      Technically speaking, the pulse index is needed to get or set
      the volume. You must define callback fonctions to get this index since
      the pulse output in mpd is done using the simpe api. The pulse simple api
      does not provide the index of the newly defined output.
      
      So callback fonctions are associated to the pulse context.
      The list of all the sink input is then retreived.
      Then we select the name of the mpd pulse output and control
      its volume by its associated index number.
      Signed-off-by: 's avatarPatrice Linel <patnathanael@gmail.com>
      Signed-off-by: 's avatarDavid Guibert <david.guibert@gmail.com>
      
      [mk: fixed whitespace errors and broke long lines; removed
      daemonization changes from main.c]
      21bb10f4
  4. 05 Mar, 2009 2 commits
    • 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
    • Max Kellermann's avatar
      music_pipe: added music_pipe_push() · 000b2d4f
      Max Kellermann authored
      Added music_pipe_allocate(), music_pipe_push() and
      music_pipe_cancel().  Those functions allow the caller (decoder thread
      in this case) to do its own chunk management.  The functions
      music_pipe_flush() and music_pipe_tag() can now be removed.
      000b2d4f
  5. 03 Mar, 2009 1 commit
  6. 02 Mar, 2009 5 commits
  7. 01 Mar, 2009 2 commits
  8. 28 Feb, 2009 4 commits
  9. 25 Feb, 2009 7 commits
  10. 23 Feb, 2009 1 commit
    • Max Kellermann's avatar
      Makefile.am: no recursive makefiles · 3b1a9aec
      Max Kellermann authored
      Recursive Makefiles are inefficient and error prone (no proper way to
      declare dependencies).  Since there's no disadvantage in having one
      single Makefile, let's do it.
      3b1a9aec
  11. 18 Feb, 2009 2 commits
  12. 24 Dec, 2008 3 commits
  13. 25 Oct, 2008 1 commit
  14. 18 Oct, 2008 1 commit
    • Max Kellermann's avatar
      Makefile.am: require automake 1.9 · 90fdf07a
      Max Kellermann authored
      With heavy use of conditionals, I broke Makefile.am for the ancient
      automake version 1.6.  Instead of supporting this automake version
      forever, I'm removing support for it now.  Since automake isn't
      required on the build machine, nobody should have a serious problem
      with that.
      90fdf07a
  15. 16 Oct, 2008 2 commits
    • Max Kellermann's avatar
      Makefile.am: fix automake 1.6 errors · b2839540
      Max Kellermann authored
      When building with the ancient automake 1.6 version, the following
      errors occur:
      
       Makefile.am:5: invalid variable `doc_DATA'
       doc/Makefile.am:2: invalid variable `doc_DATA'
      
      This patches renames some internal variables.
      b2839540
    • Max Kellermann's avatar
      removed the "bs" build scripts · c0a9ef98
      Max Kellermann authored
      autotools are somewhat ugly, but that doesn't justify duplicating its
      effort with another complex build system.
      c0a9ef98
  16. 14 Oct, 2008 1 commit
  17. 06 Oct, 2008 1 commit
    • Eric Wong's avatar
      autotools: tidy up make dist · 016af692
      Eric Wong authored
      * Add missing headers in Makefile.am
      * remove mp4ff.dsp (Win32 crap)
      * Add scripts, m4, bs, autogen.sh to allow for hotfixes by the
        SCM-challenged.  (downloading the source via git is NOT a
        lightweight operation for everybody).
      016af692
  18. 23 Sep, 2008 1 commit
  19. 28 Dec, 2007 1 commit
    • Eric Wong's avatar
      Merge branches/ew r7104 · b79f6b88
      Eric Wong authored
      thread-safety work in preparation for rewrite to use pthreads
      
      Expect no regressions against trunk (r7078), possibly minor
      performance improvements in update (due to fewer heap
      allocations), but increased stack usage.
      
      Applied the following patches:
      
      * maxpath_str for reentrancy (temporary fix, reverted)
      * path: start working on thread-safe variants of these methods
      * Re-entrancy work on path/character-set conversions
      * directory.c: exploreDirectory() use reentrant functions here
      * directory/update: more use of reentrant functions + cleanups
      * string_toupper: a strdup-less version of strDupToUpper
      * get_song_url: a static-variable-free version of getSongUrl()
      * Use reentrant/thread-safe get_song_url everywhere
      * replace rmp2amp with the reentrant version, rmp2amp_r
      * Get rid of the non-reentrant/non-thread-safe rpp2app, too.
      * buffer2array: assert strdup() returns a usable value in unit tests
      * replace utf8ToFsCharset and fsCharsetToUtf8 with thread-safe variants
      * fix storing playlists w/o absolute paths
      * parent_path(), a reentrant version of parentPath()
      * parentPath => parent_path for reentrancy and thread-safety
      * allow "make test" to automatically run embedded unit tests
      * remove convStrDup() and maxpath_str()
      * use MPD_PATH_MAX everywhere instead of MAXPATHLEN
      * path: get rid of appendSlash, pfx_path and just use pfx_dir
      * get_song_url: fix the ability to play songs in the top-level music_directory
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7106 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      b79f6b88
  20. 17 Jul, 2006 1 commit