1. 07 Mar, 2009 4 commits
    • Max Kellermann's avatar
      pulse: clean up includes · 6069cafd
      Max Kellermann authored
      Don't include output_api.h - this is not an output plugin.  Added
      missing explicit conf.h and string.h includes.
      6069cafd
    • 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
    • Max Kellermann's avatar
      mixer: check for init() failures · a547d24e
      Max Kellermann authored
      When the init() method of a mixer plugin fails, mixer_new()
      dereferences the NULL pointer.
      a547d24e
    • Max Kellermann's avatar
      configure.ac: fix --enable-X variable names · 9ed409cd
      Max Kellermann authored
      The patch "remove redundant explicit $enableval assignments" broke
      several options with non-standard variable names.
      9ed409cd
  2. 06 Mar, 2009 18 commits
  3. 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
  4. 03 Mar, 2009 10 commits
  5. 02 Mar, 2009 2 commits