add audio lib and thread