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:
@@ -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() &&
|
||||
|
||||
Reference in New Issue
Block a user