diff --git a/client/src/main.c b/client/src/main.c index a8d6e486..04950c9c 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1814,6 +1814,10 @@ int main(int argc, char * argv[]) for(unsigned int i = 0; i < LG_DISPLAYSERVER_COUNT; ++i) LG_DisplayServers[i]->setup(); + for(unsigned int i = 0; i < LG_AUDIODEV_COUNT; ++i) + if (LG_AudioDevs[i]->earlyInit) + LG_AudioDevs[i]->earlyInit(); + if (!config_load(argc, argv)) return -1; diff --git a/client/src/main.h b/client/src/main.h index 3f9b6a2f..610e43df 100644 --- a/client/src/main.h +++ b/client/src/main.h @@ -24,6 +24,7 @@ #include "dynamic/displayservers.h" #include "dynamic/renderers.h" +#include "dynamic/audiodev.h" #include "common/thread.h" #include "common/types.h"