aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/player.c5
-rw-r--r--src/playlist.c2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/player.c b/src/player.c
index 7c92d088e..4870dc739 100644
--- a/src/player.c
+++ b/src/player.c
@@ -222,11 +222,6 @@ int playerStop(int fd)
void playerKill(void)
{
int pid;
- /*PlayerControl * pc = &(getPlayerData()->playerControl);
-
- playerStop(stderr);
- playerCloseAudio(stderr);
- if(player_pid>0 && pc->closeAudio) sleep(1); */
pid = player_pid;
if (pid > 0)
diff --git a/src/playlist.c b/src/playlist.c
index d8f2c6b65..de5a2a3d5 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -840,7 +840,6 @@ int stopPlaylist(int fd)
static int playPlaylistOrderNumber(int fd, int orderNum)
{
-
if (playerStop(fd) < 0)
return -1;
@@ -1195,7 +1194,6 @@ static void randomizeOrder(int start, int end)
playlist.current = ri;
swapOrder(i, ri);
}
-
}
int setPlaylistRandomStatus(int fd, int status)