1. 05 Mar, 2009 6 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
    • Max Kellermann's avatar
      playlist_control: fix requeue after seek · 10be8a87
      Max Kellermann authored
      The queue update after a seek was wrong: the queued song is cleared by
      a successful seek.  This caused queue/cross-fading problems after a
      seek.
      10be8a87
    • Max Kellermann's avatar
      flac: explicitly check for STOP command · b0fcce65
      Max Kellermann authored
      After the decoder command was obtained, don't wait until libflac
      detects EOF (as a side effect), quit the decoder immediately.  This
      check was missing completely.
      b0fcce65
    • Max Kellermann's avatar
      flac: check command after flac_process_single() failure · efd60633
      Max Kellermann authored
      When the MPD core sends the decoder a command while
      flac_process_single() is executed, this function fails.  Abort the
      decoder only if not seeking.  This fixes a seeking bug.
      efd60633
    • Max Kellermann's avatar
      music_chunk: added music_chunk_write(), music_chunk_expand() · 74a2813d
      Max Kellermann authored
      Moved some code from music_pipe_write() and music_pipe_expand().  Only
      music_chunk.c should access the music_chunk internals.
      74a2813d
  2. 03 Mar, 2009 10 commits
  3. 02 Mar, 2009 24 commits