1. 06 Mar, 2012 1 commit
  2. 19 Sep, 2011 1 commit
  3. 17 Sep, 2011 2 commits
  4. 18 Jul, 2011 1 commit
  5. 15 Feb, 2011 1 commit
    • Christopher Brannon's avatar
      Insure proper initialization of stack-allocated struct. · 2a1f4539
      Christopher Brannon authored
      Version 1.0.0 of the libao library added a new field to the
      ao_sample_format struct.  It is a char * named matrix.  When
      an ao_sample_format is allocated on the stack, this field contains
      garbage.  The proper course is to insure that is initialized to NULL.
      NULL indicates that we do not want any mapping.
      The struct is now initialized using a static initializer, and this
      technique is compatible with all known versions of libao.
      2a1f4539
  6. 29 Jan, 2011 1 commit
  7. 01 Jan, 2010 1 commit
  8. 02 Dec, 2009 1 commit
  9. 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
  10. 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
  11. 26 Feb, 2009 1 commit
    • Max Kellermann's avatar
      output_plugin: report errors with GError · ec926539
      Max Kellermann authored
      Use GLib's GError library for reporting output device failures.
      
      Note that some init() methods don't clean up properly after a failure,
      but that's ok for now, because the MPD core will abort anyway.
      ec926539
  12. 25 Feb, 2009 5 commits
  13. 23 Feb, 2009 2 commits
    • Max Kellermann's avatar
      output: pass the music chunk pointer as void*, not char* · a4dfab2a
      Max Kellermann authored
      The meaning of the chunk depends on the audio format; don't suggest a
      specific format by declaring the pointer as "char*", pass "void*"
      instead.
      a4dfab2a
    • Max Kellermann's avatar
      output_api: play() returns a length · 5a898c15
      Max Kellermann authored
      The old API required an output plugin to not return until all data
      passed to the play() method is consumed.  Some output plugins have to
      loop to fulfill that requirement, and may block during that.  Simplify
      these, by letting them consume only part of the buffer: make play()
      return the length of the consumed data.
      5a898c15
  14. 10 Feb, 2009 1 commit
  15. 25 Jan, 2009 2 commits
  16. 18 Jan, 2009 2 commits
  17. 17 Jan, 2009 1 commit
  18. 03 Jan, 2009 1 commit
  19. 01 Jan, 2009 1 commit
  20. 09 Dec, 2008 1 commit
    • Max Kellermann's avatar
      ao: use 16 bit sample format · 0dab2c5b
      Max Kellermann authored
      There have been bug reports on MPD regarding 24 bit output via
      libao/esd.  The "ao" plugin does not attempt fall back to 16 bit
      currently, and thus fails to play 24 bit audio (i.e. all mp3 files).
      Make it always use 16 bit samples for now, until more bits are
      well-tested.
      0dab2c5b
  21. 25 Nov, 2008 3 commits
  22. 29 Oct, 2008 2 commits
  23. 26 Oct, 2008 2 commits
  24. 10 Oct, 2008 1 commit
  25. 29 Sep, 2008 1 commit
    • Max Kellermann's avatar
      use C99 struct initializers · de7cda1d
      Max Kellermann authored
      The old struct initializers are error prone and don't allow moving
      elements around.  Since we are going to overhaul some of the APIs
      soon, it's easier to have all implementations use C99 initializers.
      de7cda1d
  26. 24 Sep, 2008 3 commits
    • Max Kellermann's avatar
      output: make "struct audio_output" opaque for output plugins · acc4a0ba
      Max Kellermann authored
      We have eliminated direct accesses to the audio_output struct from
      the all output plugins.  Make it opaque for them, and move its real
      declaration to output_internal.h, similar to decoder_internal.h.
      
      Pass the opaque structure to plugin.init() only, which will return the
      plugin's data pointer on success, and NULL on failure.  This data
      pointer will be passed to all other methods instead of the
      audio_output struct.
      acc4a0ba
    • Max Kellermann's avatar
      output: added audio_output_get_name() · 3be5db04
      Max Kellermann authored
      Reduce direct accesses to the audio_output struct from the plugins:
      this time, eliminate all accesses to audio_output.name.  The name is
      required by some plugins for log messages.
      3be5db04
    • Max Kellermann's avatar
      output: set audio_output->open=1 in audio_output_task() · 2403d32a
      Max Kellermann authored
      Since the output plugin returns a value indicating success or error,
      we can have the output core code assign the "open" flag.
      2403d32a