void i_configure_cfg_backend_alloc( void ) { amidiplug_cfg_backend = g_malloc(sizeof(amidiplug_cfg_backend)); i_configure_cfg_alsa_alloc(); /* alloc alsa backend configuration */ i_configure_cfg_fsyn_alloc(); /* alloc fluidsynth backend configuration */ }
void i_configure_cfg_backend_alloc( void ) { amidiplug_cfg_backend = g_malloc(sizeof(amidiplug_cfg_backend)); #ifdef AMIDIPLUG_ALSA i_configure_cfg_alsa_alloc(); /* alloc alsa backend configuration */ #endif #ifdef AMIDIPLUG_FLUIDSYNTH i_configure_cfg_fsyn_alloc(); /* alloc fluidsynth backend configuration */ #endif }