Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | player_thread: pause when output fails while seeking | Max Kellermann | 2009-04-25 | 1 | -7/+11 |
| | | | | | | | | | When no audio outputs could be opened while seeking, leave MPD seeked at that position and pause playback. The user may continue from this point at any time, as soon as the audio outputs are fixed. The old behaviour triggered an assertion failure: the failure wasn't passed properly to the do_play() function, which attempted to play audio chunks. | ||||
* | stored_playlist: don't close NULL file on error | Max Kellermann | 2009-04-24 | 1 | -5/+1 |
| | | | | | spl_append_song() can crash when fopen() fails, because it attempts to close the invalid file handle (NULL) in the error handler. | ||||
* | alsa_output: don't use atexit() to clean up the ALSA library | Max Kellermann | 2009-04-21 | 1 | -7/+3 |
| | | | | | Call snd_config_update_free_global() manually in our finish() method, don't use atexit(). | ||||
* | alsa_mixer: call snd_config_update_free_global() in finish() | Max Kellermann | 2009-04-21 | 1 | -1/+3 |
| | | | | | | | | snd_config_update_free_global() frees cached ALSA configuration. This keeps valgrind a little bit more quiet. This patch moves the call from the open() method into the finish() method, which seems more natural: it allows the use of the config cache, and improves the cleanup phase. | ||||
* | test: added program "read_mixer" | Max Kellermann | 2009-04-21 | 3 | -4/+79 |
| | | | | | | This little program is used to test mixer plugins in an isolated environment. This is ALSA-only currently, because we don't have a real "plugin list" yet, and I'm too lazy to implement a switch. | ||||
* | output_control: close mixer on pause | Max Kellermann | 2009-04-21 | 1 | -0/+6 |
| | | | | | For non-global mixers (only "pulse" currently), close the mixer when MPD playback is paused. | ||||
* | client: free the fifo buffer | Max Kellermann | 2009-04-17 | 1 | -0/+2 |
| | | | | | This patch fixes a memory leak: the fifo_buffer object was not freed when the client connection was closed. | ||||
* | configure.ac: check for C++ detection failure | Max Kellermann | 2009-04-15 | 1 | -0/+21 |
| | | | | | When no C++ compiler is found, let CXX fall back to $CC, and disable all features which require C++. | ||||
* | configure.ac: automatically detect the sidplay decoder | Max Kellermann | 2009-04-15 | 1 | -3/+3 |
| | | | | Set sidplay to "auto" by default, and enable it when it's found. | ||||
* | configure.ac: added a real check for libsidplay2 | Max Kellermann | 2009-04-15 | 1 | -1/+16 |
| | | | | We still can't use the pkg-config file because it requires libtool. | ||||
* | configure.ac: moved the sidplay check to its argument | Max Kellermann | 2009-04-15 | 1 | -11/+11 |
| | | | | Checks for features should be right next to its argument definition. | ||||
* | configure.ac: added function MPD_AUTO_PRE | Max Kellermann | 2009-04-15 | 1 | -0/+15 |
| | | | | This function checks whether a prerequisite for a feature was found. | ||||
* | configure.ac: print feature name in error message | Max Kellermann | 2009-04-15 | 1 | -1/+1 |
| | | | | | | When MPD_AUTO_DISABLED prints a fatal error message, include the feature name. This might be an important piece of information for the user, just in case the preceding line doesn't tell him. | ||||
* | configure.ac: detect libiso9660 with pkg-config | Max Kellermann | 2009-04-13 | 2 | -5/+4 |
| | | | | Fail if the iso9660 plugin is enabled but not found. | ||||
* | configure.ac: detect libzzip with pkg-config | Max Kellermann | 2009-04-13 | 2 | -5/+16 |
| | | | | Fail if the zzip plugin is enabled but not found. | ||||
* | configure.ac: fail when bzip2 plugin is enabled but not found | Max Kellermann | 2009-04-13 | 1 | -1/+1 |
| | |||||
* | icy_server: don't export icy_server_metadata_string() | Max Kellermann | 2009-04-13 | 2 | -4/+1 |
| | | | | | icy_server_metadata_string() is only called by icy_server_metadata_page(). | ||||
* | httpd: use C99 "bool" instead of GLib's gboolean | Max Kellermann | 2009-04-13 | 1 | -7/+7 |
| | | | | Plain "bool" consumes only one byte instead of four. | ||||
* | httpd: use g_ascii_strncasecmp() to compare headers | Max Kellermann | 2009-04-13 | 1 | -1/+1 |
| | | | | In HTTP, header names are case insensitive. | ||||
* | Implemented basic icy support for the httpd output | Hagen Schink | 2009-04-13 | 7 | -12/+411 |
| | | | | | | [mk: folded with patch "Put icy related functions in extra source files"; moved icy_server.c from HAVE_CURL to ENABLE_HTTPD_OUTPUT; removed an unused variable] | ||||
* | decoder_api: submit the song tag to the music pipe | Max Kellermann | 2009-04-13 | 3 | -6/+24 |
| | | | | | | When a new song starts playing, send its tag (song->tag) to the music pipe. This allows output plugins to render tags for all songs, not only those with embedded tags understood by the decoder plugin. | ||||
* | test: added run_input test program | Max Kellermann | 2009-04-13 | 3 | -0/+127 |
| | |||||
* | removed TODO file | Max Kellermann | 2009-04-10 | 2 | -87/+1 |
| | | | | | Most of that was already implemented, and for other feature requests, we have the bug tracker. | ||||
* | log: removed "unused" attribute from log_level parameter | Max Kellermann | 2009-04-10 | 1 | -1/+1 |
| | |||||
* | test: added configuration file reader | Max Kellermann | 2009-04-10 | 3 | -0/+75 |
| | |||||
* | doc: added "music directory" section | Max Kellermann | 2009-04-10 | 1 | -0/+19 |
| | |||||
* | doc: xml typo fix | Jeffrey Middleton | 2009-04-06 | 1 | -1/+1 |
| | | | | | A <varlistentry> was accidentally added before the beginning of the intended <variablelist> | ||||
* | decoder: prefer wildmidi over fluidsynth | Avuton Olrich | 2009-04-06 | 1 | -4/+4 |
| | |||||
* | configure: add shout AC_DEFINE, otherwise it will not enable. | Avuton Olrich | 2009-04-06 | 1 | -0/+3 |
| | |||||
* | vorbis: move #define out of function to top of sources | Avuton Olrich | 2009-04-02 | 1 | -1/+1 |
| | |||||
* | decoder: Rename all main decoder plugins functions to *decoder_plugin. | Avuton Olrich | 2009-04-02 | 5 | -12/+12 |
| | |||||
* | Modify version string to post-release version 0.15~git | Avuton Olrich | 2009-04-02 | 1 | -1/+1 |
| | |||||
* | mpd version 0.15~alpha1release-0.15_alpha1 | Avuton Olrich | 2009-04-02 | 1 | -1/+1 |
| | |||||
* | make: gitignore is not necessary for distribution. | Avuton Olrich | 2009-04-02 | 1 | -1/+0 |
| | |||||
* | NEWS: flagged some new features "experimental" | Max Kellermann | 2009-04-02 | 1 | -2/+3 |
| | | | | | | | | The "lastfm" input plugin is far from complete, because MPD does not support nesting playlists yet. The "fluidsynth" decoder plugin suffers from shortcomings in the libfluidsynth library: http://www.mail-archive.com/fluid-dev@nongnu.org/msg01099.html | ||||
* | configure.ac: moved libmikmod test to --enable-mikmod | Max Kellermann | 2009-04-01 | 1 | -13/+13 |
| | |||||
* | configure.ac: renamed --enable-mod to --enable-mikmod | Max Kellermann | 2009-04-01 | 4 | -14/+14 |
| | |||||
* | httpd: don't pass uninitialized page to httpd_client_check_queue() | Max Kellermann | 2009-04-01 | 1 | -1/+1 |
| | | | | | The httpd_client_check_queue() callback function does not use its "user_data" argument. Don't pass any, and fix the gcc warning. | ||||
* | configure.ac: renamed --enable-oggvorbis to --enable-vorbis | Max Kellermann | 2009-04-01 | 4 | -23/+23 |
| | |||||
* | Makefile.am: use TREMOR_CFLAGS and TREMOR_LIBS | Max Kellermann | 2009-04-01 | 2 | -6/+9 |
| | | | | Don't append those two CFLAGS/LIBS in configure.ac. | ||||
* | configure.ac: renamed --enable-oggvorbis-encoder | Max Kellermann | 2009-04-01 | 1 | -10/+10 |
| | | | | Renamed --enable-oggvorbis-encoder to --enable-vorbis-encoder. | ||||
* | configure.ac: renamed --enable-lame to --enable-lame-encoder | Max Kellermann | 2009-04-01 | 2 | -16/+17 |
| | |||||
* | configure.ac: fix typo in help string | Max Kellermann | 2009-04-01 | 1 | -1/+1 |
| | |||||
* | configure.ac: fail when LAME is enabled but not found | Max Kellermann | 2009-04-01 | 1 | -7/+7 |
| | | | | Use MPD_AUTO_RESULT(), and set enable_lame to "auto" by default. | ||||
* | Makefile.am: use LAME_CFLAGS and LAME_LIBS | Max Kellermann | 2009-04-01 | 2 | -2/+6 |
| | | | | | Don't append LAME_CFLAGS/LAME_LIBS to MPD_CFLAGS/MPD_LIBS in configure.ac. Export them via AC_SUBST() instead. | ||||
* | configure.ac: fail when vorbis encoder is enabled but not found | Max Kellermann | 2009-04-01 | 1 | -17/+5 |
| | | | | | Use MPD_AUTO_PKG(). Removed the checks for the Ogg Vorbis decoder plugin, this is not directly related. | ||||
* | configure.ac: don't check for encoders when shout/httpd disabled | Max Kellermann | 2009-04-01 | 1 | -4/+19 |
| | | | | | Use the new $need_encoder variable to determine whether encoder plugins would actually be used if they were available. | ||||
* | configure.ac: auto-detect HTTPD plugin depending on encoders | Max Kellermann | 2009-04-01 | 1 | -2/+13 |
| | | | | | Enable the HTTPD output plugin by default, provided that the encoder API is available. | ||||
* | configure.ac: fail when shout is enabled but no libshout available | Max Kellermann | 2009-04-01 | 1 | -6/+18 |
| | | | | | | This patch makes the shout checks use MPD_AUTO_PKG() instead of manually invoking PKG_CHECK_MODULES(). It sets the default value to "auto" instead of "no". | ||||
* | configure.ac: added variable $enable_encoder | Max Kellermann | 2009-04-01 | 1 | -4/+10 |
| | | | | | | $enable_encoder specifies whether one or more encoder plugins are enabled. This simplifies several checks, and allows easier integration of more encoder plugins. |