1. 04 Jan, 2013 2 commits
  2. 25 Aug, 2012 1 commit
    • Max Kellermann's avatar
      player_thread: disable cross-fading in "single" mode · f3515505
      Max Kellermann authored
      This commit reimplements the core of the "single" mode.  Instead of
      doing the detection in the playlist code from the outside, it is moved
      to the player thread, which gets a new option called "border_pause".
      It will now pause playback exactly at the beginning of the new song,
      making the feature more reliable.
      
      Now that the player thread knows what will happen, it can suppress
      cross-fading.
      
      Fixes mantis tickets 0003055 and 0003166.
      f3515505
  3. 15 Aug, 2012 1 commit
  4. 08 Aug, 2012 5 commits
  5. 29 Jan, 2011 1 commit
  6. 10 Jan, 2011 2 commits
  7. 21 Mar, 2010 1 commit
    • Tim Phipps's avatar
      Add support for MixRamp tags · e7a515c8
      Tim Phipps authored
      Adds mixrampdb and mixrampdelay commands.  Reads MIXRAP_START and
      MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
      e7a515c8
  8. 01 Jan, 2010 1 commit
  9. 09 Nov, 2009 1 commit
  10. 03 Nov, 2009 1 commit
  11. 31 Oct, 2009 2 commits
  12. 23 Oct, 2009 1 commit
    • Max Kellermann's avatar
      output_plugin: added methods enable() and disable() · e53ca368
      Max Kellermann authored
      With these methods, an output plugin can allocate some global
      resources only if it is actually enabled.  The method enable() is
      called after daemonization, which allows for more sophisticated
      resource allocation during that method.
      e53ca368
  13. 08 Oct, 2009 5 commits
    • Max Kellermann's avatar
      player_thread: get "elapsed" from audio outputs · 448aefaa
      Max Kellermann authored
      Tracking the "elapsed" time from the chunks which we have sent to the
      output pipe is very imprecise: since we have implemented the music
      pipe, we're sending large number of chunks at once, giving the
      "elapsed" time stamp a resolution of usually more than a second.
      
      This patch changes the source of this information to the outputs.  If
      a chunk has been played by all outputs, the "elapsed" time stamp is
      updated.
      
      The new command PLAYER_COMMAND_REFRESH makes the player thread update
      its status information: it tells the outputs to update the chunk time
      stamp.  After that, player_control.elapsed_time is current.
      448aefaa
    • Max Kellermann's avatar
      player_control: eliminate PLAYER_COMMAND_PLAY · d6a6f428
      Max Kellermann authored
      Sending PLAYER_COMMAND_STOP followed by PLAYER_COMMAND_QUEUE does the
      same.  PLAYER_COMMAND_PLAY is redundant.
      d6a6f428
    • Max Kellermann's avatar
      player_control: no CamelCase · e5857cb7
      Max Kellermann authored
      e5857cb7
    • Max Kellermann's avatar
      player_control: bundle "get" functions in pc_get_status() · 76953a97
      Max Kellermann authored
      The new player_status struct replaces a bunch of playerGetX()
      functions.  When we add proper locking to the player_control struct,
      we will only need to lock once for the "status" command.
      76953a97
    • Max Kellermann's avatar
      player_control: allocate getPlayerErrorStr() result · 128a5fa4
      Max Kellermann authored
      This lets us eliminate the static fixed-size buffer.
      128a5fa4
  14. 06 Jul, 2009 1 commit
    • Max Kellermann's avatar
      output: use the software mixer plugin · 0275690b
      Max Kellermann authored
      Do all the software volume stuff inside each output thread, not in the
      player thread.  This allows one software mixer per output device, and
      also allows the user to configure the mixer type (hardware or
      software) for each audio output.
      
      This moves the global "mixer_type" setting into the "audio_output"
      section, deprecating the "mixer_enabled" flag.
      0275690b
  15. 06 May, 2009 1 commit
  16. 30 Mar, 2009 1 commit
  17. 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
  18. 05 Mar, 2009 1 commit
    • Max Kellermann's avatar
      pipe: added music_buffer, rewrite music_pipe · 01cf7fea
      Max Kellermann authored
      Turn the music_pipe into a simple music_chunk queue.  The music_chunk
      allocation code is moved to music_buffer, and is now managed with a
      linked list instead of a ring buffer.  Two separate music_pipe objects
      are used by the decoder for the "current" and the "next" song, which
      greatly simplifies the cross-fading code.
      01cf7fea
  19. 25 Jan, 2009 1 commit
  20. 16 Jan, 2009 1 commit
  21. 17 Dec, 2008 1 commit
  22. 03 Nov, 2008 3 commits
  23. 31 Oct, 2008 1 commit
    • Max Kellermann's avatar
      added prefix to header macros · ea515494
      Max Kellermann authored
      "LOG_H" is a macro which is also used by ffmpeg/log.h.  This is
      ffmpeg's fault, because short macros should be reserved for
      applications, but since it's always a good idea to choose prefixed
      macro names, even for applications, we are going to do that in MPD.
      ea515494
  24. 11 Oct, 2008 2 commits
    • Max Kellermann's avatar
      player: added commands QUEUE and CANCEL · 35a939e3
      Max Kellermann authored
      QUEUE adds a new song to the player's queue.  CANCEL clears the queue.
      These two commands replace the old and complex queueState and
      queueLockState code.
      35a939e3
    • Max Kellermann's avatar
      player: removed player_control.fileTime · 42409a35
      Max Kellermann authored
      This variable is superfluous, it is only used to copy its value to
      player_control.totalTime.  Since the original source of this value
      (song->tag->time) will still be available at this point, we can safely
      remove fileTime.
      42409a35
  25. 10 Oct, 2008 2 commits