1. 14 Aug, 2009 1 commit
    • Max Kellermann's avatar
      output: fixed shout stuck pause bug · 7133f560
      Max Kellermann authored
      Explicitly make the output thread leave the ao_pause() loop.  This
      patch is a workaround, and the "pause" flag is not managed in a
      thread-safe way, but that's good enough for now.
      7133f560
  2. 19 Jul, 2009 1 commit
  3. 06 Jul, 2009 3 commits
  4. 29 Jun, 2009 1 commit
  5. 26 Mar, 2009 1 commit
    • Max Kellermann's avatar
      output_all: synchronize playback with player_control.notify · 207786ff
      Max Kellermann authored
      This patch fixes a longer delay when moving around songs in the
      playlist.  The main thread wants to enqueue a new "next" song into the
      player thread, but the player thread is waiting inside
      audio_output_all_wait() for the output threads.  Use
      player_control.notify there, so audio_output_all_wait() gets woken up
      by the main thread, too.
      207786ff
  6. 25 Mar, 2009 2 commits
  7. 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
  8. 10 Mar, 2009 1 commit
    • Max Kellermann's avatar
      output_thread: check commands while playing · 5dfad1d5
      Max Kellermann authored
      Check audio_output.command after each sub-chunk has been played.  It
      discards the rest of the chunk, but since all commands make the device
      stop anyway, this is not a problem, but part of the improvement.  This
      improves the latency of audio output commands.
      5dfad1d5
  9. 09 Mar, 2009 2 commits
    • 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
    • Max Kellermann's avatar
      output_thread: wait 10 seconds before reopening after play failure · 71e88271
      Max Kellermann authored
      This is similar to the MPD 0.14 patch "wait 10 seconds before
      reopening a failed device", which only covered open() failures.  This
      patch adds the same feature for play().
      71e88271
  10. 08 Mar, 2009 1 commit
  11. 01 Mar, 2009 1 commit
  12. 28 Feb, 2009 1 commit
  13. 26 Feb, 2009 2 commits
    • 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
    • Max Kellermann's avatar
      output_thread: use the right audio_format in assert() · a7b0cfcc
      Max Kellermann authored
      ao_play() gets PCM data in the in_audio_format, and converts it to
      out_audio_format.  Comparing the input data with out_audio_format is
      wrong.
      
      prefixed with "STG:" will be automatically removed.  STG: Trailing
      empty lines will be automatically removed.  STG: vi: set textwidth=75
      filetype=diff nobackup:
      a7b0cfcc
  14. 25 Feb, 2009 1 commit
  15. 23 Feb, 2009 1 commit
    • 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
  16. 16 Feb, 2009 1 commit
  17. 10 Feb, 2009 4 commits
  18. 30 Jan, 2009 1 commit
  19. 17 Jan, 2009 1 commit
  20. 07 Jan, 2009 2 commits
  21. 04 Jan, 2009 1 commit
  22. 28 Dec, 2008 1 commit
  23. 24 Dec, 2008 1 commit
    • Max Kellermann's avatar
      pcm_utils: check pcm_convert()==0 · 0d9d82a9
      Max Kellermann authored
      It is illegal to pass an empty audio buffer around.  pcm_resample()
      sometimes seems to result in 0 samples, maybe related to
      libsamplerate.  To work around that problem, add special checks after
      both pcm_convert() invocations.  Removed the pcm_resample()==0 checks
      from pcm_convert().
      0d9d82a9
  24. 25 Nov, 2008 1 commit
  25. 02 Nov, 2008 1 commit
  26. 29 Oct, 2008 5 commits
  27. 21 Oct, 2008 1 commit