aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cmdline: bunch of fixes related to config file selectionDenis Krjuchkov2013-01-031-4/+4
| | | | | | | | | | | | | | - fix potential memory leak of system_path 'Potential' because currently g_get_system_config_dirs() returns single entry on Windows, but that might change. - remove incorrect g_free() call It's not required at all because g_get_system_config_dirs() returns GLib owned memory. - remove extra semicolon
* playlist_song: fix potential charset bug in apply_song_metadata()Max Kellermann2012-10-051-2/+9
| | | | The song's URI must be UTF-8, not filesystem character set.
* playlist_save: use temp2 instead of tempMax Kellermann2012-10-051-1/+2
| | | | Fixes minor Windows compatibility problem.
* decoder/ffmpeg: support planar audioMax Kellermann2012-10-051-0/+6
| | | | Implements Mantis feature request 3582.
* decoder/ffmpeg: fix playback of planar PCM dataMax Kellermann2012-10-051-8/+13
| | | | | Interleaving was completely wrong. This code was never used, so it didn't have an effect.
* decoder/ffmpeg: move code to copy_interleave_frame2()Max Kellermann2012-10-051-5/+14
|
* decoder/ffmpeg: ignore negative time stampsMax Kellermann2012-10-051-1/+1
| | | | Works around assertion failure in decoder_timestamp().
* decoder/ffmpeg: show unsupported sample format nameMax Kellermann2012-10-051-2/+13
| | | | Use av_get_sample_fmt_string() to obtain a human-readable string.
* decoder/ffmpeg: pass AVSampleFormat to ffmpeg_sample_format()Max Kellermann2012-10-051-4/+9
| | | | API simplification.
* decoder/ffmpeg: remove duplicate sample format error messageMax Kellermann2012-10-051-1/+6
|
* OSX: Set mDataByteSize correctly on AudioBuffers during render.Gregory Smith2012-10-021-3/+7
|
* output/{recorder,shout}: call encoder_read() in a loopMax Kellermann2012-10-023-16/+23
| | | | This is necessary for Ogg packets that span more than one page.
* output/recorder: move code to _write_to_file()Max Kellermann2012-10-021-19/+31
|
* output/recorder: fix write() error checkMax Kellermann2012-10-021-3/+3
| | | | We can only check for negative values if the variable is signed.
* output/recorder: make variables more localMax Kellermann2012-10-021-16/+12
|
* output/httpd: make variables more localMax Kellermann2012-10-021-31/+16
|
* encoder/vorbis: make variables more localMax Kellermann2012-10-021-20/+12
|
* output/recorder, test/*: invoke encoder_read() after _open()Max Kellermann2012-10-022-0/+11
| | | | | Make sure the file header gets written at the beginning, before _write() gets called.
* output/shout: eliminate struct shout_bufferMax Kellermann2012-10-021-7/+3
| | | | Move the raw buffer to struct shout_data.
* output/shout: remove shout_buffer.lenMax Kellermann2012-10-021-9/+4
| | | | Make it a local variable instead.
* output/shout: fix memory leak in error handlerMax Kellermann2012-10-021-2/+7
|
* output/shout: make variables more localMax Kellermann2012-10-021-49/+26
|
* decoder_control: remove MixRamp debug messagesMax Kellermann2012-09-254-10/+4
| | | | | These are confusing, and since MixRamp development has ceased, not useful to anybody.
* decoder/wavpack: support all APEv2 tagsMax Kellermann2012-09-253-17/+17
| | | | | WavPack tags are always APEv2, by definition. Reuse the tag_table from tag_ape.c, instead of rolling our own.
* locate: cast enum tag_type to int before comparing with integerMax Kellermann2012-09-221-4/+4
| | | | | Avoids clang pickiness. This code is not correct, but we'll fix that another day.
* decoder/_ogg_common: fix buffer size checkMax Kellermann2012-09-041-1/+1
| | | | Fixes potential access to uninitialised memory.
* decoder/_ogg_common: simplify the large "if" expressionMax Kellermann2012-09-041-6/+8
|
* AudioCompress: abort on out-of-memoryMax Kellermann2012-09-031-0/+7
| | | | | | This library crashes on out-of-memory (NULL pointer dereference). There's not much useful MPD can do in such a situation, so let's explicitly abort instead, just like GLib does.
* update_walk: fix unsafe readlink() usageMax Kellermann2012-09-031-2/+10
|
* playlist/cue: map "PERFORMER" to "artist" or "album artist"Max Kellermann2012-08-251-1/+11
| | | | Implements Mantis ticket 0003549.
* player_thread: disable cross-fading in "single" modeMax Kellermann2012-08-254-8/+47
| | | | | | | | | | | | | This commit reimplements the core of the "single" mode. Instead of doing the detection in the playlist code from the outside, it is moved to the player thread, which gets a new option called "border_pause". It will now pause playback exactly at the beginning of the new song, making the feature more reliable. Now that the player thread knows what will happen, it can suppress cross-fading. Fixes mantis tickets 0003055 and 0003166.
* command: make "single" a boolMax Kellermann2012-08-211-1/+1
|
* queue_save: save song prioritiesMax Kellermann2012-08-214-6/+25
|
* playlist_print: fix memory leakMax Kellermann2012-08-161-0/+3
|
* playlist_song: pass const song to _check_load_song()Max Kellermann2012-08-161-1/+1
|
* playlist_song: fix user-after-free bugMax Kellermann2012-08-161-1/+3
|
* player_thread: add local variable "start_ms"Max Kellermann2012-08-151-1/+3
| | | | Just in case "song" becomes invalid at some point.
* playlist: fix unprotected player_control accessMax Kellermann2012-08-151-1/+5
|
* filter/volume: include cleanupMax Kellermann2012-08-152-2/+0
|
* mapper: fix potential crash in file permission checkMax Kellermann2012-08-151-3/+3
|
* 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.
* 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.