player: no need for strdup at all, local or otherwise: static arrays work perfectly for pcmname and config_file