Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-08-15 | player_thread: add local variable "start_ms" | Max Kellermann | 1 | -1/+3 | |
Just in case "song" becomes invalid at some point. | |||||
2012-08-15 | playlist: fix unprotected player_control access | Max Kellermann | 1 | -1/+5 | |
2012-08-15 | filter/volume: include cleanup | Max Kellermann | 2 | -2/+0 | |
2012-08-15 | mapper: fix potential crash in file permission check | Max Kellermann | 1 | -3/+3 | |
2012-08-15 | decoder_control: add function _is_current_song() | Max Kellermann | 3 | -15/+42 | |
Replaces _current_song(). | |||||
2012-08-15 | decoder_control: add assertion to dc_get_error() | Max Kellermann | 1 | -0/+1 | |
2012-08-15 | decoder_thread: create GError for mapper failure | Max Kellermann | 1 | -0/+3 | |
Fixes crash. | |||||
2012-08-15 | decoder/fluidsynth: add "sample_rate" setting | Max Kellermann | 1 | -6/+14 | |
2012-08-15 | decoder/fluidsynth: add "soundfont" setting | Max Kellermann | 1 | -6/+7 | |
Replaces the old global "soundfont" which never worked. | |||||
2012-08-15 | configure.ac: auto-detect libfluidsynth | Max Kellermann | 1 | -9/+0 | |
Now that the libfluidsynth API was sanitized, we can enable the plugin automatically if libfluidsynth is installed. | |||||
2012-08-15 | decoder/fluidsynth: stop playback at end of file | Max Kellermann | 1 | -5/+4 | |
Use libfluidsynth's new function fluid_player_get_status(). | |||||
2012-08-15 | decoder/fluidsynth: don't duplicate path | Max Kellermann | 1 | -6/+1 | |
The libfluidsynth now accepts const strings. | |||||
2012-08-15 | decoder/fluidsynth: check if file is really a MIDI | Max Kellermann | 1 | -4/+1 | |
Use fluid_is_midifile() to verify the file format. | |||||
2012-08-15 | decoder/fluidsynth: remove throttle (requires libfluidsynth 1.1) | Max Kellermann | 1 | -17/+1 | |
The libfluidsynth API is now sane, and does not require real-time decoding. | |||||
2012-08-14 | log: store duplicated path string | Max Kellermann | 3 | -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). | |||||
2012-08-14 | output/jack: implement method delay() | Max Kellermann | 1 | -4/+11 | |
Eliminate the g_usleep() call. | |||||
2012-08-14 | output/pulse: implement method delay() | Max Kellermann | 1 | -7/+21 | |
Reduce command latency while paused. | |||||
2012-08-14 | output/pulse: simplify _wait_stream() | Max Kellermann | 1 | -55/+16 | |
One large loop and only one pa_stream_get_state() call. | |||||
2012-08-14 | output/httpd: move delay from _pause() to _delay() | Max Kellermann | 1 | -1/+5 | |
2012-08-14 | output/httpd: fix throttling bug after resuming playback | Max Kellermann | 1 | -0/+8 | |
Reset the timer when paused and no client is connected. This fixes Mantis ticket 0003527. | |||||
2012-08-14 | output/httpd: move code to _has_clients() | Max Kellermann | 1 | -11/+27 | |
2012-08-14 | timer: use monotonic clock if available | Max Kellermann | 3 | -13/+140 | |
2012-08-14 | input/ffmpeg: remove fallback AV_VERSION_INT definition | Max Kellermann | 1 | -4/+1 | |
This is part of libavutil. | |||||
2012-08-14 | mapper: fix non-UTF8 music directory name | Max Kellermann | 4 | -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. | |||||
2012-08-14 | playlist_song: use map_to_relative_path() | Max Kellermann | 1 | -4/+4 | |
2012-08-14 | playlist_song: improve const-correctness | Max Kellermann | 1 | -5/+4 | |
2012-08-14 | playlist_song: move code to playlist_check_load_song() | Max Kellermann | 1 | -23/+23 | |
2012-08-14 | input_stream, main: remove obsolete GLib version checks | Max Kellermann | 3 | -8/+0 | |
MPD requires GLib 2.16. | |||||
2012-08-13 | client_file: remove pure attribute from client_allow_file(). | Anton Khirnov | 1 | -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(). | |||||
2012-08-09 | Directory: move code to directory_allocate() | Max Kellermann | 1 | -8/+18 | |
2012-08-08 | player_control: add GError attribute | Max Kellermann | 4 | -68/+56 | |
Rewrite of the pc_get_error_message() function, now using a GError object instead of the complicated "errored_song" attribute. | |||||
2012-08-08 | output_all: add basic GError support | Max Kellermann | 4 | -11/+74 | |
2012-08-08 | decoder_control: add GError attribute | Max Kellermann | 4 | -1/+106 | |
2012-08-08 | player_control: rename attribute "error" to "error_type" | Max Kellermann | 4 | -12/+14 | |
2012-08-08 | player_control: rename player_error enum values | Max Kellermann | 4 | -16/+24 | |
2012-08-08 | player_control: remove unused enum player_error values | Max Kellermann | 3 | -19/+1 | |
2012-08-08 | player_control: inline trivial functions | Max Kellermann | 2 | -40/+25 | |
2012-08-08 | song: use C++ compiler | Max Kellermann | 2 | -8/+16 | |
2012-08-08 | tag_pool: use GStaticMutex | Max Kellermann | 4 | -32/+22 | |
Eliminates explicit global initialisation. | |||||
2012-08-08 | song: include cleanup | Max Kellermann | 1 | -1/+0 | |
2012-08-08 | directory: use gcc.h macros, not GLib | Max Kellermann | 1 | -6/+7 | |
2012-08-08 | conf: add a "database" block | Max Kellermann | 2 | -6/+19 | |
The new block overrides the "db_file" setting, and allows configuring any database plugin. | |||||
2012-08-08 | DatabaseGlue: look up the database plugin | Max Kellermann | 1 | -1/+11 | |
No more hard-coded "simple" plugin. | |||||
2012-08-08 | DatabaseGlue: pass block to db_init() | Max Kellermann | 3 | -13/+9 | |
Let the caller take care for legacy conversion. | |||||
2012-08-08 | DatabaseGlue: add function db_is_simple() | Max Kellermann | 4 | -5/+38 | |
Preparing for non-"simple" database plugins. | |||||
2012-08-08 | main: don't call db_init() without database | Max Kellermann | 1 | -1/+0 | |
Useless call. | |||||
2012-08-08 | ProxyDatabasePlugin: obey the "recursive" flag | Max Kellermann | 1 | -2/+3 | |
2012-08-08 | ProxyDatabasePlugin: use an artificial "root" directory | Max Kellermann | 1 | -2/+9 | |
Fixes assertion failures in the Directory library. | |||||
2012-08-08 | DatabasePrint: don't print Last-Modified if unknown | Max Kellermann | 2 | -2/+4 | |
2012-08-08 | time_print: new library, function time_print() | Max Kellermann | 5 | -57/+87 | |
Implements error checking for the gmtime_r() call, which was missing in two code locations. |