1. 26 Mar, 2009 1 commit
  2. 20 Mar, 2009 1 commit
    • Max Kellermann's avatar
      output: convert audio_output.config_audio_format to boolean · e6c753a4
      Max Kellermann authored
      The config_audio_format used to contain the configured audio format,
      which is copied to out_audio_format.  Let's convert the former to a
      boolean, which indicates whether out_audio_format was already set.
      This simplifies some code and saves a few bytes.
      e6c753a4
  3. 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
  4. 09 Mar, 2009 1 commit
    • Max Kellermann's avatar
      output: play from a music_pipe object · 3291666b
      Max Kellermann authored
      Instead of passing individual buffers to audio_output_all_play(), pass
      music_chunk objects.  Append all those chunks asynchronously to a
      music_pipe instance.  All output threads may then read chunks from
      this pipe.  This reduces MPD's internal latency by an order of
      magnitude.
      3291666b
  5. 01 Mar, 2009 3 commits
  6. 28 Feb, 2009 2 commits
  7. 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
  8. 25 Feb, 2009 3 commits
  9. 16 Feb, 2009 1 commit
  10. 11 Feb, 2009 1 commit
  11. 10 Feb, 2009 1 commit
  12. 25 Jan, 2009 1 commit
  13. 17 Jan, 2009 2 commits
  14. 28 Dec, 2008 1 commit
  15. 25 Nov, 2008 1 commit
  16. 29 Oct, 2008 3 commits
  17. 21 Oct, 2008 2 commits
  18. 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: pass audio_format to plugin.init() and plugin.open() · 3cae6856
      Max Kellermann authored
      Pass the globally configured audio_format as a const pointer to
      plugin.init().  plugin.open() gets a writable pointer which contains
      the audio_format requested by the plugin.  Its initial value is either
      the configured audio_format or the input file's audio_format.
      3cae6856
    • Max Kellermann's avatar
      output: one thread per audio output · d32f49a9
      Max Kellermann authored
      To keep I/O nastiness and latencies away from the core, move the audio
      output code to a separate thread, one per output.  The thread is
      created on demand, and currently runs until mpd exits.
      d32f49a9
  19. 11 Sep, 2008 3 commits
  20. 09 Sep, 2008 4 commits
  21. 08 Sep, 2008 1 commit
  22. 07 Sep, 2008 3 commits