1. 28 Apr, 2009 2 commits
  2. 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
  3. 27 Mar, 2009 1 commit
  4. 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
  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. 16 Feb, 2009 1 commit
  7. 25 Jan, 2009 7 commits
  8. 18 Jan, 2009 2 commits
  9. 17 Jan, 2009 1 commit
  10. 16 Jan, 2009 1 commit
  11. 11 Jan, 2009 1 commit
  12. 10 Jan, 2009 1 commit
    • Viliam Mateicka's avatar
      Introducing mixer api · 11c29ccc
      Viliam Mateicka authored
      This patch tryes to introduce pluggable mixer (struct mixer_plugin) along with some basic infrastructure (mixer_* functions). Instance of mixer (struct mixer) is used in
      alsa and oss output plugin
      11c29ccc
  13. 04 Jan, 2009 1 commit
  14. 01 Jan, 2009 1 commit
  15. 31 Dec, 2008 1 commit