diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -410,12 +410,6 @@ static void alc_init(void) int i; const char *devs, *str; - InitializeCriticalSection(&g_csMutex); - ALTHUNK_INIT(); - ReadALConfig(); - - tls_create(&LocalContext); - str = getenv("ALSOFT_LOGFILE"); if(str && str[0]) { @@ -426,6 +420,12 @@ static void alc_init(void) if(!LogFile) LogFile = stderr; + InitializeCriticalSection(&g_csMutex); + ALTHUNK_INIT(); + ReadALConfig(); + + tls_create(&LocalContext); + RTPrioLevel = GetConfigValueInt(NULL, "rt-prio", 0); DefaultResampler = GetConfigValueInt(NULL, "resampler", RESAMPLER_DEFAULT); |