From bf9e2afbf9f8c9ec44dbad033290c8fe66d170f6 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Wed, 19 May 2004 00:34:26 +0000 Subject: just a we bit of changes git-svn-id: https://svn.musicpd.org/mpd/trunk@1075 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/player.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index a47b2c356..a0b5515c1 100644 --- a/src/player.h +++ b/src/player.h @@ -22,6 +22,7 @@ #include "../config.h" #include "mpd_types.h" +#include "song.h" #include #include @@ -66,6 +67,7 @@ typedef struct _PlayerControl { volatile float beginTime; volatile float totalTime; volatile float elapsedTime; + volatile float fileTime; char file[MAXPATHLEN+1]; char erroredFile[MAXPATHLEN+1]; volatile mpd_sint8 queueState; @@ -85,7 +87,7 @@ void clearPlayerPid(); void player_sigChldHandler(int pid, int status); -int playerPlay(FILE * fp, char * utf8file); +int playerPlay(FILE * fp, Song * song); int playerSetPause(FILE * fp, int pause); @@ -115,7 +117,7 @@ int getPlayerError(); int playerInit(); -int queueSong(char * utf8file); +int queueSong(Song * song); int getPlayerQueueState(); @@ -125,7 +127,7 @@ void playerQueueLock(); void playerQueueUnlock(); -int playerSeek(FILE * fp, char * utf8file, float time); +int playerSeek(FILE * fp, Song * song, float time); void setPlayerCrossFade(float crossFadeInSeconds); -- cgit v1.2.3