1. 30 Jan, 2009 12 commits
    • Max Kellermann's avatar
      output_api: removed DISABLED_AUDIO_OUTPUT_PLUGIN · dd23e719
      Max Kellermann authored
      The macro is unused.
      dd23e719
    • Max Kellermann's avatar
      output_api: removed audio_output_closed() · a2e0b71a
      Max Kellermann authored
      The function is only used by the MVP output plugin, and this one call
      is wrong.
      a2e0b71a
    • Max Kellermann's avatar
      jack: don't override output_ports in connect() · eeec32fe
      Max Kellermann authored
      If no ports are configured, don't overwrite the (NULL) configuration
      with the port names of the first JACK server.  If the server changes
      after a JACK reconnect, MPD won't attempt to auto-detect again.
      eeec32fe
    • Max Kellermann's avatar
      jack: removed sample_rate callback · a93e73be
      Max Kellermann authored
      Currently, the JACK plugin manipulates the audio_format struct which
      was passed to the open() method.  This is very likely to break,
      because the plugin must not permanently store this pointer.  After
      this patch, MPD ignores sample rate changes.  It looks like other
      software is doing the same, and I guess this is a non-issue.
      
      This patch converts the audio_format pointer within jack_data into a
      static audio_format struct.
      a93e73be
    • Max Kellermann's avatar
      configure.ac: detect jack_set_info_function() · 59008276
      Max Kellermann authored
      jack_set_info_function() is not provided by older libjack versions.
      Attempt to detect if it is available.
      59008276
    • Matthias Drochner's avatar
      mikmod: call MikMod_Exit() only in the finish() method · 5b852886
      Matthias Drochner authored
      Hi -
      independently of libmikmod's other problems - there seems
      to be a problem in mpd's wrapper: MikMod_Exit() is called
      after the first file is decoded, which frees some ressources
      within the mikmod library. An attempt to play a second file
      leads to a crash. The appended patch fixes this for me.
      (I don't know what the "dup" entry is good for - someone
      who knows should review that too.)
      best regards
      Matthias
      
      [mk: removed 3 more MikMod_Exit() invocations]
      5b852886
    • Max Kellermann's avatar
      wavpack: pass NULL if the .wvc file fails to open · 02bfb0c4
      Max Kellermann authored
      The wavpack library seems to use the .wvc stream even if the OPEN_WVC
      flag is not set.  In this case, pass NULL to be sure libwavpack won't
      use it.
      02bfb0c4
    • Max Kellermann's avatar
      jack: print info messages · 0d3dff95
      Max Kellermann authored
      Use jack_set_info_function() to install an info callback.  Don't let
      libjack print them to stderr.
      0d3dff95
    • Max Kellermann's avatar
      client: check for G_IO_ERR and G_IO_HUP · 76b217f7
      Max Kellermann authored
      When we do not explicitly catch G_IO_ERR and G_IO_HUP, GLib can go
      into an infinite loop, because it won't deliver the socket error to
      MPD.
      76b217f7
    • Max Kellermann's avatar
      mapper: ignore duplicate slashes in playlists · c38dd9e8
      Max Kellermann authored
      When there are duplicate slashes in the song paths, eliminate them;
      example:
      
       /var/lib/mpd/music//foo.mp3
      
      becomes:
      
       /var/lib/mpd/music/foo.mp3
      
      The slash is only detected at the border between the music_directory
      and the local part.
      c38dd9e8
    • Max Kellermann's avatar
      mapper: remove trailing slashes from music_directory · e3d4fa69
      Max Kellermann authored
      When the user configures a music_directory with a trailing slash, it
      may break playlist loading, because MPD expects a double slash.  Chop
      off the trailing slash.
      e3d4fa69
    • David Horn's avatar
      ffmeg: added support for the tags comment, genre, year · efb04532
      David Horn authored
      ffmpeg_tag_internal() does not look for a few tags that mpd
      supports. Most noteably:
      
       comment -> TAG_ITEM_COMMENT -> Description
       genre -> TAG_ITEM_GENRE -> WM/Genre (not WM/GenreID)
       year -> TAG_ITEM_DATE -> WM/Year
      
      I *think* that this is the last of the tags that AVFormatContext() in
      ffmpeg supports that mpd also uses.
      efb04532
  2. 29 Jan, 2009 23 commits
  3. 27 Jan, 2009 1 commit
  4. 26 Jan, 2009 1 commit
  5. 25 Jan, 2009 3 commits