AudioUtil.py (477B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\carbon\client\script\environment\AudioUtil.py 2 3 4 def CheckAudioFileForEnglish(audioPath): 5 if settings.user.ui.Get('forceEnglishVoice', False): 6 audioPath = audioPath[:-3] + 'EN.' + audioPath[-3:] 7 return audioPath 8 9 10 def PlaySound(audioPath): 11 sm.GetService('audio').SendUIEvent(audioPath) 12 13 14 def SetSoundParameter(rtpcName, value): 15 sm.GetService('audio').SetUIRTPC(rtpcName, value)