Merge tag 'v0.20.19'

release v0.20.19
This commit is contained in:
Max Kellermann
2018-04-26 20:06:41 +02:00
7 changed files with 90 additions and 20 deletions

View File

@@ -304,6 +304,11 @@ struct DecoderControl {
gcc_pure
bool IsCurrentSong(const DetachedSong &_song) const noexcept;
gcc_pure
bool IsSeekableCurrentSong(const DetachedSong &_song) const noexcept {
return seekable && IsCurrentSong(_song);
}
private:
/**
* Wait for the command to be finished by the decoder thread.