aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* string_util: convert to C++Max Kellermann2013-04-0913-57/+33
|
* OpusReader: don't use strndup()Max Kellermann2013-04-094-67/+4
| | | | Eliminate the fallback strndup() and strnlen() implementations.
* cue_parser: convert to C++Max Kellermann2013-04-097-482/+469
|
* playlist/cue: add constructor/destructorMax Kellermann2013-04-091-11/+13
|
* decoder_plugin: convert to C++Max Kellermann2013-04-092-8/+8
|
* tokenizer: convert to C++Max Kellermann2013-04-086-166/+163
|
* uri: convert to C++Max Kellermann2013-04-0826-96/+42
|
* decoder/gme: fix rounding errorMax Kellermann2013-04-081-1/+1
| | | | | Cast to integer after multiplying with 1000. Allows sub-second seeking.
* decoder/gme: convert to C++Max Kellermann2013-04-084-76/+137
|
* InputStream: use gcc.h attributesMax Kellermann2013-04-081-6/+6
|
* event/TimeoutMonitor: eliminate support for periodic eventsMax Kellermann2013-04-088-27/+17
| | | | | No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
* StateFile: schedule timer only after a changeMax Kellermann2013-04-084-18/+15
| | | | | | Save the state file 2 minutes after the last change. This reduces the disruptions by an idle MPD, and MPD can be paged out permanently until it is used.
* StateFile: move code to RememberVersions(), IsModified()Max Kellermann2013-04-082-12/+33
|
* StateFile: make AutoWrite() privateMax Kellermann2013-04-081-1/+3
|
* Idle: fix typo in API documentationMax Kellermann2013-04-081-1/+1
|
* decoder/ffmpeg: suppress warning about unused variableMax Kellermann2013-04-081-0/+2
| | | | Only relevant for old ffmpeg versions.
* Merge tag 'release-0.17.4'Max Kellermann2013-04-087-13/+24
|\
| * release 0.17.4release-0.17.4Max Kellermann2013-04-082-2/+2
| |
| * command: don't check audio_format if not playingMax Kellermann2013-04-081-7/+8
| | | | | | | | Fixes valgrind warning.
| * Makefile.am: enable "dist-xz"Max Kellermann2013-04-083-2/+4
| |
| * .gitignore: stricter matchesMax Kellermann2013-04-081-2/+3
| |
| * player_control: don't emit IDLE_PLAYER before audio format is knownMax Kellermann2013-04-083-2/+5
| | | | | | | | | | Eliminates one IDLE_PLAYER call in playlist_control, and add two new ones to player_thread. Fixes Mantis bug 3636.
| * command: don't print undefined audio_formatMax Kellermann2013-04-081-6/+9
| | | | | | | | Check audio_format_defined().
| * ffmpeg decoder plugin: do not allocate an AVFrame on stack.Anton Khirnov2013-04-052-3/+17
| | | | | | | | AVFrame must be allocated with avcodec_alloc_frame().
* | ffmpeg decoder plugin: do not allocate an AVFrame on stack.Anton Khirnov2013-04-051-5/+24
| | | | | | | | AVFrame must be allocated with avcodec_alloc_frame().
* | GlobalEvents: use g_idle_add() instead of WakeFD()Max Kellermann2013-02-271-28/+5
| | | | | | | | | | Use the GMainLoop specific function to wake up the main loop. This is simpler and comes with very little overhead.
* | GlobalEvents: wake up only if the flags were emptyMax Kellermann2013-02-271-1/+1
| | | | | | | | | | Don't bother checking for the parameter mask. This doesn't matter. The only thing that matters is if a wake-up is already pending.
* | Idle, GlobalEvents: use std::atomic::exchange()Max Kellermann2013-02-272-2/+2
| | | | | | | | Less overhead than fetch_and() for what we do.
* | IcyMetaDataServer: increment iteratorOddegamra2013-02-271-1/+1
| | | | | | | | Fixes segmentation fault.
* | Merge branch 'v0.17.x'Max Kellermann2013-02-275-16/+22
|\|
| * fix typos in upstream's mpd.conf.5Florian Schlichting2013-02-272-12/+12
| |
| * Add some comments to keep track of timer units.Hagen Fritsch2013-02-271-3/+5
| |
| * clock: fix usec-to-usec factorHagen Fritsch2013-02-271-1/+1
| |
| * clock: add missing includeHagen Fritsch2013-02-272-0/+4
| |
* | mixer_plugin: convert to C++Max Kellermann2013-02-2228-74/+59
| |
* | {output,mixer}/winmm: convert to C++Max Kellermann2013-02-225-57/+68
| |
* | Merge branch 'v0.17.x'Max Kellermann2013-02-193-2/+14
|\|
| * command: allow to omit END in ranges (START:END)Jörg Thalheim2013-02-192-1/+3
| | | | | | | | | | If END is omitted, mpd should use the highest possible value instead of raising an error. This partially reverts 52e9cab1c1743f64a7
| * player_thread: implement missing "idle" events on output errorsMax Kellermann2013-02-042-1/+11
| | | | | | | | | | | | When all outputs fail, MPD automatically pauses playback, but did not emit the IDLE_PLAYER event. Thus, clients were not woken up. (Mantis 3665)
* | output/alsa: workaround for noise after manual song changeMax Kellermann2013-02-042-0/+21
| | | | | | | | | | Workaround for driver bug observed on the Raspberry Pi, see code comment for details.
* | output/alsa: pre-allocate the silence bufferMax Kellermann2013-02-041-14/+15
| |
* | output/alsa: move code to alsa_write_silence()Max Kellermann2013-02-041-14/+23
| |
* | SocketUtil: add separators to g_prefix_error() callMax Kellermann2013-02-041-3/+3
| |
* | output/alsa: default "device" is an empty stringMax Kellermann2013-02-041-1/+1
| | | | | | | | | | | | Fixes nullptr dereference in std::string::operator=(). Also fixes a memory leak by using config_get_block_string() instead of config_dup_block_string().
* | event/ServerSocket: close only sockets that have been openedMax Kellermann2013-02-041-1/+3
| | | | | | | | Fixes assertion failure.
* | decoder/Opus: replace non-static data member initializersMax Kellermann2013-02-041-6/+9
| | | | | | | | Would require gcc 4.7, and MPD attempts to be compatible with gcc 4.6.
* | ServerSocket: Initialize length variableUli Schlachter2013-02-041-1/+1
| |
* | StateFile: use file system API, log in UTF-8Denis Krjuchkov2013-02-023-11/+16
| |
* | SimpleDatabasePlugin: use file system API, log in UTF-8Denis Krjuchkov2013-02-022-25/+24
| |
* | UpdateIO.cxx: use file system API, log in UTF-8Denis Krjuchkov2013-02-021-12/+17
| |