diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-19 00:34:26 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-19 00:34:26 +0000 |
commit | bf9e2afbf9f8c9ec44dbad033290c8fe66d170f6 (patch) | |
tree | 40f0d94ab2d528578eba3b21431ced08f291c905 /src/player.h | |
parent | 3cb9923714c4dfa18bf6338c30b0554524b25836 (diff) | |
download | mpd-bf9e2afbf9f8c9ec44dbad033290c8fe66d170f6.tar.gz mpd-bf9e2afbf9f8c9ec44dbad033290c8fe66d170f6.tar.xz mpd-bf9e2afbf9f8c9ec44dbad033290c8fe66d170f6.zip |
just a we bit of changes
git-svn-id: https://svn.musicpd.org/mpd/trunk@1075 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/player.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <stdio.h> #include <sys/param.h> @@ -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); |