diff options
author | Eric Wong <normalperson@yhbt.net> | 2005-11-19 10:52:47 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2005-11-19 10:52:47 +0000 |
commit | f8597ccf257eb925db508cfc37a494e2b1397e64 (patch) | |
tree | 0bafdb0be022427f1d84dcae2e10f5e70f84c3d8 /src/player.c | |
parent | e8a54efe414d9d25b71cef910b15935bea8c530e (diff) | |
download | mpd-f8597ccf257eb925db508cfc37a494e2b1397e64.tar.gz mpd-f8597ccf257eb925db508cfc37a494e2b1397e64.tar.xz mpd-f8597ccf257eb925db508cfc37a494e2b1397e64.zip |
remove C++ style comments
git-svn-id: https://svn.musicpd.org/mpd/trunk@3689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/player.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/player.c b/src/player.c index 7ae814f98..8941e4d32 100644 --- a/src/player.c +++ b/src/player.c @@ -97,7 +97,8 @@ void player_sigChldHandler(int pid, int status) { int playerInit() { kill(masterPid, SIGUSR2); - while (getPlayerPid()==0) my_usleep(10000); //we need to wait for the signal to take effect + /* we need to wait for the signal to take effect: */ + while (getPlayerPid()==0) my_usleep(10000); return 0; } @@ -108,19 +109,21 @@ int playerInitReal() { if(player_pid==0) { PlayerControl * pc = &(getPlayerData()->playerControl); - //clearUpdatePid(); + /* clearUpdatePid(); */ unblockSignals(); setSigHandlersForDecoder(); - - //closeAllListenSockets(); - //freeAllInterfaces(); - //closeMp3Directory(); - //finishPlaylist(); - //finishPermissions(); - //finishCommands(); - //finishVolume(); + + /* + closeAllListenSockets(); + freeAllInterfaces(); + closeMp3Directory(); + finishPlaylist(); + finishPermissions(); + finishCommands(); + finishVolume(); + */ while(1) { if(pc->play) decode(); |