[optimize-audio] fixing mutexes