-
pa_core_check_idle() uses pa_core.exit_idle_time, which is set after the pa_core_new() call, so pa_core_check_idle() needs to be called later. This patch preserves the fact that core state is set to PA_CORE_RUNNING after checking idle (now in main). It doesn't seem to matter anyway and main(pa_core_new(state:PA_CORE_STARTUP)->...->state:PA_CORE_RUNNING) seems right as well.
-