1. 25 Apr, 2009 1 commit
  2. 27 Mar, 2009 5 commits
  3. 26 Mar, 2009 10 commits
  4. 17 Mar, 2009 2 commits
  5. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      Avuton Olrich authored
      This updates the copyright header to all be the same, which is
      pretty much an update of where to mail request for a copy of the GPL
      and the years of the MPD project. This also puts all committers under
      'The Music Player Project' umbrella. These entries should go
      individually in the AUTHORS file, for consistancy.
      0aee49bd
  6. 07 Mar, 2009 5 commits
    • David Guibert's avatar
      pulse_mixer: allow mpd to reconnect to the pulse mixer · 498ec26f
      David Guibert authored
      This patch follows the commit 21bb10f4.
      
      >From Max Kellermann:
      > I removed the daemonization changes in main.c.  Please explain why you
      > changed that.  If you need it for some reason, make that a separate
      > patch with a good description of your rationale.
      
      > That's the biggest flaw of your code: it opens the mixer device in the
      > init() method, while the open() method is empty.  When the pulse
      > daemon is not available (either during MPD startup or when it dies
      > while MPD runs), the plugin will not even attempt to reconnect to
      > pulse.  Please move the code to the open() method, to make that work.
      
      I changed the daemonize call as the fork losts the connection to the
      pulse server. According to your remark, the init() method should be
      moved to the open() ones.
      
      With the modification, mpd is able to reconnect the pulse mixer after
      restarting the pulseaudio daemon.
      Signed-off-by: 's avatarDavid Guibert <david.guibert@gmail.com>
      Signed-off-by: 's avatarMax Kellermann <max@duempel.org>
      498ec26f
    • Max Kellermann's avatar
      5ffb2dd8
    • Max Kellermann's avatar
      pulse_mixer: added GLib log domain · b1137fe8
      Max Kellermann authored
      Shorten some log messages, let GLib add the "pulse_mixer" prefix.
      b1137fe8
    • 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