Give player.c a better name, meaning that the code is used to control the player thread.
It should be obvious in which thread or context a function is being executed at runtime. The code which was left in decode.c is for the decoder thread itself; give the file a better name.