From e8bd9ddc9fc99d31659db1121622bef0f3303fc1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:09 +0200 Subject: 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. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 7f66fd6bd..53b204e7e 100644 --- a/src/main.c +++ b/src/main.c @@ -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() && -- cgit v1.2.3