Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-11-13 | queue/Save: fix "Malformed playlist line in state file" | Max Kellermann | 1 | -1/+1 | |
Regression by commit 738583e3 | |||||
2015-11-13 | player/Control: add code comments | Max Kellermann | 1 | -0/+4 | |
2015-11-11 | player/Control: Seek*() returns Error information | Max Kellermann | 3 | -11/+18 | |
2015-11-11 | decoder/Control: Seek() returns Error information | Max Kellermann | 3 | -5/+18 | |
2015-11-11 | queue/Playlist: seek methods return bool/Error instead of PlaylistResult | Max Kellermann | 5 | -48/+78 | |
2015-11-11 | command/CommandError: send verbose error message to client | Max Kellermann | 1 | -22/+55 | |
2015-11-11 | PlaylistError: remove unused code "ERRNO" | Max Kellermann | 2 | -5/+0 | |
2015-11-11 | decoder/Control: State::ERROR is illegal | Max Kellermann | 1 | -1/+2 | |
The state ERROR can only be entered during decoder initialization, and Seek() may only be called after initialization has been finished. | |||||
2015-11-11 | decoder/Control: use switch/case in Seek() | Max Kellermann | 1 | -2/+13 | |
2015-11-11 | player/Control: use class ScopeLock | Max Kellermann | 2 | -36/+19 | |
2015-11-11 | player/Control: move code to ClearError() | Max Kellermann | 2 | -6/+6 | |
2015-11-11 | player/Control: move code to SeekLocked() | Max Kellermann | 2 | -5/+14 | |
2015-11-11 | player/Control: add Lock prefix to locking method names | Max Kellermann | 9 | -44/+44 | |
2015-11-11 | StateFile: use StringAfterPrefix() instead of StringStartsWith() | Max Kellermann | 4 | -41/+30 | |
2015-11-11 | db/simple: use StringAfterPrefix() instead of StringStartsWith() | Max Kellermann | 2 | -21/+20 | |
2015-11-11 | util/StringPointer: add method empty() | Max Kellermann | 1 | -0/+6 | |
2015-11-06 | util/StringView: add method Literal() | Max Kellermann | 1 | -2/+12 | |
2015-11-06 | util/StringCompare: use StringView to simplify inline implementations | Max Kellermann | 2 | -31/+14 | |
2015-11-06 | playlist/soundcloud: make key_str "static const" | Max Kellermann | 1 | -1/+1 | |
2015-11-06 | db/update/InotifyQueue: use StringAfterPrefix() | Max Kellermann | 1 | -6/+6 | |
2015-11-06 | input/alsa: use StringAfterPrefix() | Max Kellermann | 1 | -3/+2 | |
2015-11-06 | util/UriUtil: use StringAfterPrefix() instead of memcmp() | Max Kellermann | 1 | -9/+9 | |
2015-11-06 | util/UriUtil: move code to SkipUriScheme() | Max Kellermann | 1 | -6/+15 | |
2015-11-06 | util/UriUtil: make variables more local | Max Kellermann | 1 | -7/+4 | |
2015-11-06 | util/StringCompare: add StringIsEmpty() | Max Kellermann | 13 | -16/+37 | |
2015-11-06 | util/StringCompare: use strncmp() instead of memcmp() in StringStartsWith() | Max Kellermann | 2 | -3/+4 | |
Some optimized implementations of memcmp() may not start from the beginning of the string, and may thus segfault. | |||||
2015-11-06 | util/StringUtil: move comparison functions to StringCompare.cxx | Max Kellermann | 30 | -153/+232 | |
2015-11-06 | tag/id3: convert path from "wchar_t*" to "char*" for error message | Max Kellermann | 1 | -1/+3 | |
2015-11-05 | player/Thread: call DecoderCommand::SEEK only on existing decoder | Max Kellermann | 1 | -17/+22 | |
If the decoder was just started, it already seeks to the desired position. | |||||
2015-11-05 | player/Thread: move code to WaitDecoderStartup() | Max Kellermann | 1 | -7/+21 | |
2015-11-05 | player/Thread: move player_command_finished() to PlayerControl | Max Kellermann | 2 | -12/+10 | |
2015-11-05 | player/Thread: copy pc.seek_time in ActivateDecoder() | Max Kellermann | 1 | -2/+1 | |
If this gets called while seeking, do the right thing. This moves the elapsed_time setter from method Run(), which is now redundant. | |||||
2015-11-05 | player/Control: initialize seek_time in EnqueueSongLocked() | Max Kellermann | 2 | -6/+3 | |
Allows removing a few special cases in the player thread. | |||||
2015-10-28 | player/Thread: remove decoder error check from ActivateDecoder() | Max Kellermann | 1 | -37/+8 | |
It is futile to check for decoder errors before the decoder has finished startup. At this time, it's unlikely that the decoder has already failed. | |||||
2015-10-28 | player/Thread: rename WaitForDecoder() to ActivateDecoder() | Max Kellermann | 1 | -10/+15 | |
.. and fix its API documentation. | |||||
2015-10-27 | player/Thread: move code to ForwardDecoderError() | Max Kellermann | 1 | -6/+22 | |
2015-10-27 | player/Thread: clear pc.next_song earlier in WaitForDecoder() | Max Kellermann | 1 | -4/+3 | |
2015-10-27 | player/Control: use CANCEL to clear next_song in Seek() | Max Kellermann | 1 | -1/+5 | |
Assigning nullptr to next_song may disrupt the player thread and render undefined behavior. | |||||
2015-10-27 | player/Thread: merge the cross_fading flag into enum CrossFadeState | Max Kellermann | 1 | -22/+25 | |
2015-10-27 | player/Thread: move ResetCrossFade() calls to where pipes are set | Max Kellermann | 1 | -3/+8 | |
Move ResetCrossFade() to where cross-fading would actually break, to make the cross-fading state more reliable. | |||||
2015-10-27 | player/Thread: add method ResetCrossFade() | Max Kellermann | 1 | -2/+10 | |
2015-10-27 | player/Thread: more CrossFadeState documentation | Max Kellermann | 1 | -1/+16 | |
2015-10-27 | player/Thread: automatic CrossFadeState enum values | Max Kellermann | 1 | -4/+4 | |
2015-10-27 | player/Thread: move enum CrossFadeState into the Player class | Max Kellermann | 1 | -7/+5 | |
2015-10-27 | command/queue: add range parameter to plchanges and plchangesposid | Max Kellermann | 6 | -17/+52 | |
2015-10-27 | pcm/Order: new library to convert from FLAC to ALSA channel order | Max Kellermann | 6 | -2/+201 | |
This new library is integrated in the PcmExport class and (if enabled) converts MPD's channel order (= FLAC channel order) to ALSA channel order. This fixes: http://bugs.musicpd.org/view.php?id=3147 and http://bugs.musicpd.org/view.php?id=3255 | |||||
2015-10-27 | AudioFormat: define that channel order follows the FLAC convention | Max Kellermann | 1 | -2/+13 | |
Basic definition to solve http://bugs.musicpd.org/view.php?id=3147 and http://bugs.musicpd.org/view.php?id=3255 | |||||
2015-10-26 | gme: don't loop forever, fall back to GME's default play length | Max Kellermann | 1 | -3/+3 | |
Fixes http://bugs.musicpd.org/view.php?id=4432 | |||||
2015-10-26 | decoder/gme: free the gme_info_t as early as possible | Max Kellermann | 1 | -6/+7 | |
2015-10-26 | decoder/gme: log the emulator type | Max Kellermann | 1 | -0/+3 | |