diff options
author | Max Kellermann <max@duempel.org> | 2015-11-11 17:31:32 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-11-11 19:56:09 +0100 |
commit | 4404f20cf47e8c9c7f850955a9838d4b353f41fd (patch) | |
tree | f7101d67e826fa6cbf59e0cb6af5e3c10a13a497 /src/player/Control.hxx | |
parent | faca8bc02a67ed06e60a4d827d5d7bb69027b4f3 (diff) | |
download | mpd-4404f20cf47e8c9c7f850955a9838d4b353f41fd.tar.gz mpd-4404f20cf47e8c9c7f850955a9838d4b353f41fd.tar.xz mpd-4404f20cf47e8c9c7f850955a9838d4b353f41fd.zip |
player/Control: Seek*() returns Error information
Diffstat (limited to 'src/player/Control.hxx')
-rw-r--r-- | src/player/Control.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player/Control.hxx b/src/player/Control.hxx index df2dc35be..5e7fcbdb7 100644 --- a/src/player/Control.hxx +++ b/src/player/Control.hxx @@ -425,7 +425,7 @@ private: SynchronousCommand(PlayerCommand::QUEUE); } - void SeekLocked(DetachedSong *song, SongTime t); + bool SeekLocked(DetachedSong *song, SongTime t, Error &error_r); public: /** @@ -442,7 +442,7 @@ public: * @return true on success, false on failure (e.g. if MPD isn't * playing currently) */ - bool LockSeek(DetachedSong *song, SongTime t); + bool LockSeek(DetachedSong *song, SongTime t, Error &error_r); void SetCrossFade(float cross_fade_seconds); |