1. 10 Feb, 2009 5 commits
  2. 09 Feb, 2009 6 commits
  3. 02 Feb, 2009 2 commits
    • Max Kellermann's avatar
      shout_mp3: call lame_close() in clear_encoder() method · 3b0a78fe
      Max Kellermann authored
      The shout_mp3 encoder had two bugs: when no song was ever played, MPD
      segfaulted during cleanup.  Second bug: memory leak, each time the
      shout device was opened, lame_init() was called again, and
      lame_close() is only called once during shutdown.
      
      Fix this by shutting down LAME each time the clear_encoder() method is
      called.
      3b0a78fe
    • Max Kellermann's avatar
      shout_mp3: free the lame_data struct on exit · 1fdf2521
      Max Kellermann authored
      Make valgrind a little bit happier: free the global lame_data struct
      in the finish() method.
      1fdf2521
  4. 30 Jan, 2009 6 commits
    • Max Kellermann's avatar
      output_api: moved the command check out of method pause() · 231636b9
      Max Kellermann authored
      Move the "while" loop which checks for commands to the caller
      ao_pause().  This simplifies the pause() method, and lets us remove
      audio_output_is_pending().
      231636b9
    • 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
    • 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
  5. 29 Jan, 2009 13 commits
  6. 25 Jan, 2009 8 commits