From 4404f20cf47e8c9c7f850955a9838d4b353f41fd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Nov 2015 17:31:32 +0100 Subject: player/Control: Seek*() returns Error information --- src/player/Control.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/player/Control.hxx') 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); -- cgit v1.2.3