diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:44:34 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:44:34 +0200 |
commit | b616dff77d8e0d7a930327007690444a356dcbf3 (patch) | |
tree | 9fd5b40b89e66ed4ddd3d5f4fc6f94e6bd7f59eb /src/player.h | |
parent | bf4af19f54d53d23023177222a79ee83b9fde87a (diff) | |
download | mpd-b616dff77d8e0d7a930327007690444a356dcbf3.tar.gz mpd-b616dff77d8e0d7a930327007690444a356dcbf3.tar.xz mpd-b616dff77d8e0d7a930327007690444a356dcbf3.zip |
no commandError() in playerSeek()
We should avoid having protocol specific code in player.c. Just
return success or failure, and let the caller send the error code to
the MPD client.
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h index a030c02da..fcdbb000f 100644 --- a/src/player.h +++ b/src/player.h @@ -139,7 +139,7 @@ void playerQueueLock(void); void playerQueueUnlock(void); -int playerSeek(int fd, Song * song, float seek_time); +int playerSeek(Song * song, float seek_time); void setPlayerCrossFade(float crossFadeInSeconds); |