1. 13 Nov, 2008 2 commits
  2. 02 Nov, 2008 11 commits
  3. 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
  4. 11 Oct, 2008 1 commit
  5. 08 Oct, 2008 2 commits
  6. 29 Sep, 2008 1 commit
  7. 07 Sep, 2008 1 commit
  8. 26 Aug, 2008 6 commits
    • Max Kellermann's avatar
      moved global variable "ob" to outputBuffer.h · a94845ee
      Max Kellermann authored
      This releases several include file dependencies.  As a side effect,
      "CHUNK_SIZE" isn't defined by decoder_api.h anymore, so we have to
      define it directly in the plugins which need it.  It just isn't worth
      it to add it to the decoder plugin API.
      a94845ee
    • Max Kellermann's avatar
      eliminate OUTPUT_BUFFER_DC_STOP, OUTPUT_BUFFER_DC_SEEK · c7384b65
      Max Kellermann authored
      (Ab)use the decoder_command enumeration, which has nearly the same
      values and the same meaning.
      c7384b65
    • Max Kellermann's avatar
      moved convState to struct decoder · 2e9169de
      Max Kellermann authored
      Since we moved all PCM conversions to decoder_data(), the attribute
      convState isn't being used anymore by the OutputBuffer code.  Move it
      to struct decoder.
      2e9169de
    • Max Kellermann's avatar
      added OutputBuffer.notify · 5df6ff8d
      Max Kellermann authored
      OutputBuffer should be a more generic low-level library, without
      dependencies to the other headers.  This patch adds the field
      "notify", which is used to signal the player thread.  It is passed in
      the constructor, and removes the need to compile with the decode.h
      header.
      5df6ff8d
    • Max Kellermann's avatar
      added decoder_data() · 2a83ccdb
      Max Kellermann authored
      Moved all of the player-waiting code to decoder_data(), to make
      OutputBuffer more generic.
      2a83ccdb
    • Max Kellermann's avatar
      clean up CPP includes · b6909da7
      Max Kellermann authored
      Include only headers which are really required.  This speeds up
      compilation and helps detect cross-layer accesses.
      b6909da7
  9. 15 Apr, 2008 1 commit
    • Max Kellermann's avatar
      added ob_set_lazy() · 7c952c4f
      Max Kellermann authored
      In lazy mode (previously the default), outputBuffer.c only wakes up
      the player when it was previously empty.  That caused a deadlock when
      the player was waiting for buffered_before_play, since the decoder
      wouldn't wake up the player when buffered_before_play was reached.  In
      non-lazy mode, always wake up the player when a new chunk was decoded.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7364 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      7c952c4f
  10. 13 Apr, 2008 3 commits
  11. 12 Apr, 2008 11 commits