1. 20 Sep, 2009 1 commit
  2. 14 Aug, 2009 1 commit
  3. 14 Jul, 2009 1 commit
  4. 06 Jul, 2009 1 commit
  5. 03 Jun, 2009 1 commit
  6. 10 May, 2009 1 commit
  7. 05 May, 2009 4 commits
  8. 21 Apr, 2009 1 commit
  9. 13 Apr, 2009 3 commits
  10. 01 Apr, 2009 1 commit
  11. 26 Mar, 2009 3 commits
  12. 17 Mar, 2009 1 commit
  13. 16 Mar, 2009 1 commit
  14. 15 Mar, 2009 3 commits
    • Max Kellermann's avatar
      httpd_output: check client->write_source_id in handler · 87070651
      Max Kellermann authored
      Due to a race condition, httpd_client_out_event() could be called even
      when its GLib event source was already removed.  Check that case.
      87070651
    • Max Kellermann's avatar
      httpd_output: clear the client's page queue on cancel · 58844aab
      Max Kellermann authored
      When the httpd output is cancelled, it freed all pages, but didn't
      remove them from the queue.  Call g_queue_clear() and remove the
      write source id.
      58844aab
    • Max Kellermann's avatar
      httpd: new output plugin to replace "shout" · e62580db
      Max Kellermann authored
      Let's get rid of the "shout" plugin, and the awfully complicated
      icecast daemon setup!  MPD can do better if it's doing the HTTP server
      stuff on its own.  This new plugin has several advantages:
      
      - easier to set up - only one daemon, no password settings, no mount
        settings
      - MPD controls the encoder and thus already knows the packet
        boundaries - icecast has to parse them
      - MPD doesn't bother to encode data while nobody is listening
      
      This implementation is very experimental (no header parsing, ignores
      request URI, no icy-metadata, ...).  It should be able to suport
      several encoders in parallel in the future (with different bit rates,
      different codec, ...), to make MPD the perfect streaming server.  Once
      MPD gets multi-player support, we can even mount several different
      radio stations on one server.
      e62580db
  15. 14 Mar, 2009 2 commits
  16. 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
  17. 10 Mar, 2009 2 commits
  18. 08 Mar, 2009 2 commits
    • Max Kellermann's avatar
      alsa: determine buffer_time if not already known · ab656a52
      Max Kellermann authored
      This patch fixes a theoretical (but practically impossible) flaw: the
      variable "buffer_time" may be uninitialized when it is used.
      Initialize the variable with snd_pcm_hw_params_get_buffer_time().
      ab656a52
    • Max Kellermann's avatar
      alsa: better period_time default value for high sample rates · 554a34fb
      Max Kellermann authored
      The default values for buffer_time and period_time were both capped by
      the hardware limits on practically all chips.  The result was a
      period_time which was half as big as the buffer_time.  On some chips,
      this led to lots of underruns when using a high sample rate (192 kHz),
      because MPD had very little time to send new samples to ALSA.
      
      A period time which is one fourth of the buffer time turned out to be
      much better.  If no period_time is configured, see how much
      buffer_time the hardware accepts, and try to configure one fourth of
      it as period_time, instead of hard-coding the default period_time
      value.
      
      This is yet another attempt to provide a solution which is valid for
      all sound chips.  Using the SND_PCM_NONBLOCK flag also seemed to solve
      the underruns, but put a lot more CPU load to MPD.
      554a34fb
  19. 07 Mar, 2009 1 commit
    • 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
  20. 03 Mar, 2009 2 commits
  21. 02 Mar, 2009 1 commit
  22. 01 Mar, 2009 1 commit
  23. 28 Feb, 2009 1 commit
  24. 27 Feb, 2009 1 commit
  25. 26 Feb, 2009 3 commits