From 15a4847e6a3360f991de19b9922fa7e76db3f49c Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Fri, 15 Jun 2018 23:47:34 +0200 Subject: Call onload section to before halmap section Call onload section to before halmap section. This will be usefull if we want to execute action before the first alsa calls. Change-Id: Ia1b6428d322fb94538fee7b69b4886ab419a597c Signed-off-by: Jonathan Aillet --- 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '4a-hal') diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c index 6d5f9e3..0ea3e12 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c @@ -45,12 +45,12 @@ AFB_ApiT AFB_default; // Config Section definition static CtlSectionT ctrlSections[] = { - {.key="plugins" , .loadCB= PluginConfig}, + {.key="resources", .loadCB= PluginConfig}, + {.key="onload", .loadCB= OnloadConfig}, {.key="controls", .loadCB= ControlConfig}, - {.key="events" , .loadCB= EventConfig}, + {.key="events", .loadCB= EventConfig}, {.key="halmap", .loadCB= HalCtlsHalMapConfig}, {.key="halmixer", .loadCB= HalCtlsHalMixerConfig}, - {.key="onload" , .loadCB= OnloadConfig}, {.key=NULL} }; -- cgit 1.2.3-korg