1. 11 Nov, 2008 1 commit
  2. 05 Nov, 2008 1 commit
  3. 03 Nov, 2008 1 commit
  4. 02 Nov, 2008 2 commits
    • Max Kellermann's avatar
      removed unused sources · 1e0acb2e
      Max Kellermann authored
      Cleaning up artifacts from a merge gone wrong.  Also remove the
      ringbuf library, which is not being used.
      1e0acb2e
    • Max Kellermann's avatar
      renamed outputBuffer.[ch] to pipe.[ch] · 767b4c95
      Max Kellermann authored
      No CamelCase in the file name.  The output_buffer struct is going to
      be renamed to music_pipe.  There are so many buffer levels in MPD, and
      calling this one "output buffer" is wrong, because it's not the last
      buffer before the music reaches the output devices.
      767b4c95
  5. 31 Oct, 2008 2 commits
  6. 26 Oct, 2008 5 commits
  7. 25 Oct, 2008 1 commit
    • Max Kellermann's avatar
      removed internal copy of libmp4ff · 1110a6d4
      Max Kellermann authored
      MPD shouldn't integrate sources of other libraries.  Since libmp4ff is
      part of libfaad, we should remove the old copy from src/mp4ff and link
      with the current version from libfaad instead.
      1110a6d4
  8. 23 Oct, 2008 3 commits
  9. 22 Oct, 2008 1 commit
  10. 17 Oct, 2008 3 commits
  11. 16 Oct, 2008 1 commit
  12. 15 Oct, 2008 4 commits
    • Max Kellermann's avatar
      shout: check for vorbisenc library · 92513c33
      Max Kellermann authored
      The switch from ogg.m4 to pkg-config intentionally disabled
      libvorbisenc.  Enable it when shout_ogg is used.
      92513c33
    • Enrico Weigelt's avatar
      fixing several imports to work via pkg-config · 30cd3455
      Enrico Weigelt authored
      This patch fixes several imports to use pkg-config instead of certain
      esoteric tests.
      30cd3455
    • Max Kellermann's avatar
      path, tag_id3: use g_convert() instead of charConv.c · 8746a58a
      Max Kellermann authored
      GLib provides an easier API for character set conversion than iconv().
      Use g_convert() / g_convert_with_fallback() for all character
      conversions.  We should optimize the path.h API later to return a
      newly allocated buffer, so we can just pass GLib's return value.
      8746a58a
    • Max Kellermann's avatar
      use GLib · e89599ea
      Max Kellermann authored
      GLib is a nice and portable utility library.  We are going to use it
      from now on, and eliminate a lot of duplicated code from MPD.  Why
      invent the wheel again and again?
      e89599ea
  13. 14 Oct, 2008 3 commits
    • Max Kellermann's avatar
      command: added command "idle" · a3e3d2c9
      Max Kellermann authored
      "idle" waits until something noteworthy happens on the server,
      e.g. song change, playlist modified, database updated.  This allows
      clients to keep up to date without polling.
      a3e3d2c9
    • Max Kellermann's avatar
      mapper: new song-to-filesystem mapper library · 5b71d5f6
      Max Kellermann authored
      The mapper library maps directory and song objects to file system
      paths.  With this central library, the code mixture in path.c should
      be cleaned up, and we will be able to add neat features like aliasing.
      5b71d5f6
    • Max Kellermann's avatar
      playlist: moved code to playlist_save.c · a52a9fc1
      Max Kellermann authored
      playlist_print_song() and playlist_print_uri() handle charset
      conversion and (optional) music directory prefixing.
      a52a9fc1
  14. 09 Oct, 2008 1 commit
  15. 08 Oct, 2008 3 commits
    • Max Kellermann's avatar
      directory: moved code to database.c · 8a50e8a2
      Max Kellermann authored
      Taming the directory.c monster, part II: move the database management
      stuff to database.  directory.c should only contain code which works
      on directory objects.
      8a50e8a2
    • Max Kellermann's avatar
      directory: moved code to update.c · 7b9bed83
      Max Kellermann authored
      The source directory.c mixes several libraries: directory object
      management, database management and database update, resulting in a
      1000+ line monster.  Move the whole database update code to update.c.
      7b9bed83
    • Max Kellermann's avatar
      dirvec: moved code to dirvec.c · 4cfd356e
      Max Kellermann authored
      Having all functions as static (non-inline) functions generates GCC
      warnings, and duplicates binary code across several object files.
      Most of dirvec's methods are too complex for becoming inline
      functions.  Move them all to dirvec.c and publish the prototypes in
      dirvec.h.
      4cfd356e
  16. 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
  17. 29 Sep, 2008 2 commits
  18. 24 Sep, 2008 3 commits
    • Max Kellermann's avatar
      output: make "struct audio_output" opaque for output plugins · acc4a0ba
      Max Kellermann authored
      We have eliminated direct accesses to the audio_output struct from
      the all output plugins.  Make it opaque for them, and move its real
      declaration to output_internal.h, similar to decoder_internal.h.
      
      Pass the opaque structure to plugin.init() only, which will return the
      plugin's data pointer on success, and NULL on failure.  This data
      pointer will be passed to all other methods instead of the
      audio_output struct.
      acc4a0ba
    • Max Kellermann's avatar
      output: added audio_output_get_name() · 3be5db04
      Max Kellermann authored
      Reduce direct accesses to the audio_output struct from the plugins:
      this time, eliminate all accesses to audio_output.name.  The name is
      required by some plugins for log messages.
      3be5db04
    • Max Kellermann's avatar
      output: one thread per audio output · d32f49a9
      Max Kellermann authored
      To keep I/O nastiness and latencies away from the core, move the audio
      output code to a separate thread, one per output.  The thread is
      created on demand, and currently runs until mpd exits.
      d32f49a9
  19. 23 Sep, 2008 1 commit
    • Eric Wong's avatar
      Replace SongList with struct songvec · 0bec1d38
      Eric Wong authored
      Our linked-list implementation is wasteful and the
      SongList isn't modified enough to benefit from being a linked
      list.  So use a more compact array of song pointers which
      saves ~200K on a library with ~9K songs (on x86-32).
      0bec1d38
  20. 12 Sep, 2008 1 commit
    • Eric Wollesen's avatar
      shout: added mp3 encoder · 5f8eebd1
      Eric Wollesen authored
      [mk: moved this patch after "Refactor and cleanup of shout Ogg and MP3
      audio outputs".  The original commit message follows, although it is
      outdated:]
      
      Creation of shout_mp3 audio output plugin. Basically I just copied the
      existing shout plugin and replaced ogg with lame. Uses lame for mp3
      encoding. Next step is to pull common functionality out of each shout
      plugin and share it between them.
      
      Configuration options for "shout_mp3" are the same as for "shout".
      5f8eebd1