1. 15 Dec, 2013 1 commit
    • Max Kellermann's avatar
      mixer/alsa: fix deadlock · 42a09ff1
      Max Kellermann authored
      This deadlock was a regression by commit 8e38b4f8.  Since we currently
      can't resolve this, let's revert the commit, and add a GLib specific
      workaround for the build failure.
      42a09ff1
  2. 13 Dec, 2013 1 commit
  3. 28 Oct, 2013 1 commit
  4. 20 Oct, 2013 1 commit
  5. 02 Oct, 2013 1 commit
  6. 04 Sep, 2013 1 commit
  7. 10 Aug, 2013 3 commits
  8. 07 Aug, 2013 1 commit
  9. 04 Aug, 2013 2 commits
  10. 30 Jul, 2013 1 commit
  11. 16 Apr, 2013 2 commits
  12. 22 Feb, 2013 1 commit
  13. 15 Jan, 2013 1 commit
  14. 09 Jan, 2013 3 commits
  15. 05 Jan, 2012 2 commits
  16. 04 Jan, 2012 1 commit
  17. 29 Jan, 2011 1 commit
  18. 01 Jan, 2010 1 commit
  19. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  20. 21 Oct, 2009 1 commit
  21. 20 Oct, 2009 2 commits
  22. 28 Apr, 2009 2 commits
  23. 21 Apr, 2009 1 commit
    • Max Kellermann's avatar
      alsa_mixer: call snd_config_update_free_global() in finish() · eb059a78
      Max Kellermann authored
      snd_config_update_free_global() frees cached ALSA configuration.  This
      keeps valgrind a little bit more quiet.  This patch moves the call
      from the open() method into the finish() method, which seems more
      natural: it allows the use of the config cache, and improves the
      cleanup phase.
      eb059a78
  24. 27 Mar, 2009 1 commit
  25. 26 Mar, 2009 6 commits
    • Max Kellermann's avatar
      alsa_mixer: initialize "volume_set" in the open() method · 3be18507
      Max Kellermann authored
      "volume_set" is an attribute which becomes undefined when the mixer is
      closed.  That means, it must be initialized each time the mixer is
      opened.
      3be18507
    • Max Kellermann's avatar
      alsa_mixer: removed superfluous checks · 0c9799ba
      Max Kellermann authored
      The MPD core guarantees that methods are always invoked in a
      consistent state.  This means we can remove lots of checks from the
      volume methods.
      0c9799ba
    • Max Kellermann's avatar
      alsa_mixer: pass default device to config_get_block_string() · 331b714a
      Max Kellermann authored
      Instead of replacing NULL with the default device in the open()
      method, pass the default device to config_get_block_string().
      331b714a
    • Max Kellermann's avatar
      alsa_mixer: make "device" and "control" const · f06f049c
      Max Kellermann authored
      Use config_get_block_string() instead of config_dup_block_string().
      f06f049c
    • Max Kellermann's avatar
      mixer_control: close mixer on failure · 1fcf09a8
      Max Kellermann authored
      When getting or setting the volume fails, the MPD core close the
      mixer.  Moved the duplicated code from the mixer plugins.
      1fcf09a8
    • Max Kellermann's avatar
      mixer: added flag "open" · 617a4fd2
      Max Kellermann authored
      Remember if a mixer object is open or closed.  Don't call open() again
      if it is already open.  This guarantees that the mixer plugin is
      always called in a consistent state, and we will be able to remove
      lots of checks from the implementations.
      
      To support mixers which are automatically opened even if the audio
      output is still closed (to set the volume before playback starts),
      this patch also adds the "global" flag to the mixer_plugin struct.
      Both ALSA and OSS set this flag, while PULSE does not.
      617a4fd2
  26. 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