moved code to player_thread.c

Move code which runs in the player thread to player_thread.c.  Having
a lot of player thread code in decode.c isn't easy to understand.
This commit is contained in:
Max Kellermann
2008-08-26 08:27:09 +02:00
parent 6104e9690e
commit e8bd9ddc9f
7 changed files with 495 additions and 450 deletions

View File

@@ -20,7 +20,7 @@
#include "command.h"
#include "playlist.h"
#include "directory.h"
#include "player.h"
#include "player_thread.h"
#include "listen.h"
#include "conf.h"
#include "path.h"
@@ -432,7 +432,7 @@ int main(int argc, char *argv[])
openVolumeDevice();
decoderInit();
playerInit();
player_create();
read_state_file();
while (COMMAND_RETURN_KILL != doIOForInterfaces() &&