aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decoder_control: add assertion to dc_get_error()Max Kellermann2012-08-151-0/+1
|
* decoder_thread: create GError for mapper failureMax Kellermann2012-08-151-0/+3
| | | | Fixes crash.
* Merge branch 'v0.17.x'Max Kellermann2012-08-151-53/+28
|\
| * decoder/fluidsynth: add "sample_rate" settingMax Kellermann2012-08-151-6/+14
| |
| * decoder/fluidsynth: add "soundfont" settingMax Kellermann2012-08-151-6/+7
| | | | | | | | Replaces the old global "soundfont" which never worked.
| * configure.ac: auto-detect libfluidsynthMax Kellermann2012-08-151-9/+0
| | | | | | | | | | Now that the libfluidsynth API was sanitized, we can enable the plugin automatically if libfluidsynth is installed.
| * decoder/fluidsynth: stop playback at end of fileMax Kellermann2012-08-151-5/+4
| | | | | | | | Use libfluidsynth's new function fluid_player_get_status().
| * decoder/fluidsynth: don't duplicate pathMax Kellermann2012-08-151-6/+1
| | | | | | | | The libfluidsynth now accepts const strings.
| * decoder/fluidsynth: check if file is really a MIDIMax Kellermann2012-08-151-4/+1
| | | | | | | | Use fluid_is_midifile() to verify the file format.
| * decoder/fluidsynth: remove throttle (requires libfluidsynth 1.1)Max Kellermann2012-08-151-17/+1
| | | | | | | | | | The libfluidsynth API is now sane, and does not require real-time decoding.
* | Merge branch 'v0.17.x'Max Kellermann2012-08-1410-126/+261
|\|
| * log: store duplicated path stringMax Kellermann2012-08-143-31/+32
| | | | | | | | | | | | | | Don't free the string right after calling log_init_file(). Add a new function log_deinit() that frees the string on shutdown. This fixes cycling the log file after SIGHUP (Mantis ticket 0003524).
| * output/jack: implement method delay()Max Kellermann2012-08-141-4/+11
| | | | | | | | Eliminate the g_usleep() call.
| * output/pulse: implement method delay()Max Kellermann2012-08-141-7/+21
| | | | | | | | Reduce command latency while paused.
| * output/pulse: simplify _wait_stream()Max Kellermann2012-08-141-55/+16
| | | | | | | | One large loop and only one pa_stream_get_state() call.
| * output/httpd: move delay from _pause() to _delay()Max Kellermann2012-08-141-1/+5
| |
| * output/httpd: fix throttling bug after resuming playbackMax Kellermann2012-08-141-0/+8
| | | | | | | | | | | | Reset the timer when paused and no client is connected. This fixes Mantis ticket 0003527.
| * output/httpd: move code to _has_clients()Max Kellermann2012-08-141-11/+27
| |
| * timer: use monotonic clock if availableMax Kellermann2012-08-143-13/+140
| |
| * input/ffmpeg: remove fallback AV_VERSION_INT definitionMax Kellermann2012-08-141-4/+1
| | | | | | | | This is part of libavutil.
* | Merge branch 'v0.17.x'Max Kellermann2012-08-148-76/+103
|\| | | | | | | | | Conflicts: src/mapper.h
| * mapper: fix non-UTF8 music directory nameMax Kellermann2012-08-144-37/+73
| | | | | | | | | | | | Duplicate the music_dir variable: one encoded in UTF-8, and another one using the configured filesystem character set. This fixes an ancient MPD bug.
| * playlist_song: use map_to_relative_path()Max Kellermann2012-08-141-4/+4
| |
| * playlist_song: improve const-correctnessMax Kellermann2012-08-141-5/+4
| |
| * playlist_song: move code to playlist_check_load_song()Max Kellermann2012-08-141-23/+23
| |
| * input_stream, main: remove obsolete GLib version checksMax Kellermann2012-08-143-8/+0
| | | | | | | | MPD requires GLib 2.16.
* | Merge branch 'v0.17.x'Max Kellermann2012-08-131-2/+0
|\| | | | | | | | | | | | | Conflicts: NEWS configure.ac src/client_file.h
| * client_file: remove pure attribute from client_allow_file().Anton Khirnov2012-08-131-1/+0
| | | | | | | | | | | | | | | | That function is not pure, it writes to error. When marked as pure, the compiler is allowed to assume it does not do anything to error, so it can remain NULL, which would result in an invalid read in print_error().
* | Directory: move code to directory_allocate()Max Kellermann2012-08-091-8/+18
| |
* | player_control: add GError attributeMax Kellermann2012-08-084-68/+56
| | | | | | | | | | Rewrite of the pc_get_error_message() function, now using a GError object instead of the complicated "errored_song" attribute.
* | output_all: add basic GError supportMax Kellermann2012-08-084-11/+74
| |
* | decoder_control: add GError attributeMax Kellermann2012-08-084-1/+106
| |
* | player_control: rename attribute "error" to "error_type"Max Kellermann2012-08-084-12/+14
| |
* | player_control: rename player_error enum valuesMax Kellermann2012-08-084-16/+24
| |
* | player_control: remove unused enum player_error valuesMax Kellermann2012-08-083-19/+1
| |
* | player_control: inline trivial functionsMax Kellermann2012-08-082-40/+25
| |
* | song: use C++ compilerMax Kellermann2012-08-082-8/+16
| |
* | tag_pool: use GStaticMutexMax Kellermann2012-08-084-32/+22
| | | | | | | | Eliminates explicit global initialisation.
* | song: include cleanupMax Kellermann2012-08-081-1/+0
| |
* | directory: use gcc.h macros, not GLibMax Kellermann2012-08-081-6/+7
| |
* | conf: add a "database" blockMax Kellermann2012-08-082-6/+19
| | | | | | | | | | The new block overrides the "db_file" setting, and allows configuring any database plugin.
* | DatabaseGlue: look up the database pluginMax Kellermann2012-08-081-1/+11
| | | | | | | | No more hard-coded "simple" plugin.
* | DatabaseGlue: pass block to db_init()Max Kellermann2012-08-083-13/+9
| | | | | | | | Let the caller take care for legacy conversion.
* | DatabaseGlue: add function db_is_simple()Max Kellermann2012-08-084-5/+38
| | | | | | | | Preparing for non-"simple" database plugins.
* | main: don't call db_init() without databaseMax Kellermann2012-08-081-1/+0
| | | | | | | | Useless call.
* | ProxyDatabasePlugin: obey the "recursive" flagMax Kellermann2012-08-081-2/+3
| |
* | ProxyDatabasePlugin: use an artificial "root" directoryMax Kellermann2012-08-081-2/+9
| | | | | | | | Fixes assertion failures in the Directory library.
* | DatabasePrint: don't print Last-Modified if unknownMax Kellermann2012-08-082-2/+4
| |
* | time_print: new library, function time_print()Max Kellermann2012-08-085-57/+87
| | | | | | | | | | Implements error checking for the gmtime_r() call, which was missing in two code locations.
* | ProxyDatabasePlugin: new database plugin using libmpdclientMax Kellermann2012-08-083-0/+377
| | | | | | | | | | Implementation incomplete, but sort-of-works. DumpDatabase works, but MPD is still hard-coded on the "simple" plugin.