Initialize critical section for routinexaudio2.cpp