This way, afs doesn't inherit the open fds of the senders. This fixes
sender http off
Without this patch, para_audiod wouldn't notice that the http sender
has closed its listening fd because afs still has this fd open.
PARA_NOTICE_LOG("initializing audio format handlers\n");
afh_init();
PARA_NOTICE_LOG("initializing virtual streaming system\n");
- vss_init();
mmd->server_pid = getpid();
setup_signal_handling();
PARA_NOTICE_LOG("initializing the audio file selector\n");
init_afs();
+ vss_init();
mmd_lock();
/* init network socket */
PARA_NOTICE_LOG("initializing tcp command socket\n");