aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-04-13 01:15:50 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-13 01:15:50 +0000
commit98acfa8ac5bac09ca49a7c21938b5a5801e01ca5 (patch)
treede558a803467d34d97bf695978a4f0c2cd65d126 /src/player.h
parentae1335753adb5bcc49badf98ccbe6ca38152dc2c (diff)
downloadmpd-98acfa8ac5bac09ca49a7c21938b5a5801e01ca5.tar.gz
mpd-98acfa8ac5bac09ca49a7c21938b5a5801e01ca5.tar.xz
mpd-98acfa8ac5bac09ca49a7c21938b5a5801e01ca5.zip
Get rid of PlayerControl inside the PlayerData struct
It actually increases our image size a small bit and may even hurt performance a very small bit, but makes the code less verbose and easier to manage. I don't see a reason for mpd to ever support playing multiple files at the same time (users can run multiple instances of mpd if they really want to play Zaireeka, but that's such an edge case it's not worth ever supporting in our code). git-svn-id: https://svn.musicpd.org/mpd/trunk@7352 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/player.h b/src/player.h
index 6ec3f8329..623ae1fb0 100644
--- a/src/player.h
+++ b/src/player.h
@@ -76,9 +76,9 @@ typedef struct _PlayerControl {
volatile double totalPlayTime;
} PlayerControl;
-void wakeup_player_nb(PlayerControl *pc);
+void wakeup_player_nb(void);
-void player_sleep(PlayerControl *pc);
+void player_sleep(void);
int playerPlay(int fd, Song * song);
@@ -134,6 +134,6 @@ int getPlayerChannels(void);
Song *playerCurrentDecodeSong(void);
-void playerInit(PlayerControl * pc);
+void playerInit(void);
#endif