本文整理汇总了Python中FMOD.getMasterVolume方法的典型用法代码示例。如果您正苦于以下问题:Python FMOD.getMasterVolume方法的具体用法?Python FMOD.getMasterVolume怎么用?Python FMOD.getMasterVolume使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FMOD
的用法示例。
在下文中一共展示了FMOD.getMasterVolume方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: import FMOD [as 别名]
# 或者: from FMOD import getMasterVolume [as 别名]
def __init__(self, channelsMgr):
self.channelsMgr = channelsMgr
self.vivoxDomain = ''
self.testChannel = ''
self.inTesting = False
self.__activateMicByVoice = False
self.__enableVoiceNormalization = False
self.usersRoster = {}
self.channelUsers = {}
self.captureDevices = []
self.currentCaptureDevice = ''
self.OnCaptureDevicesUpdated = Event.Event()
self.onParticipantMute = Event.Event()
self.onPlayerSpeaking = Event.Event()
self.channelsMgr.onCaptureDevicesArrived += self._onCaptureDevicesArrived
self.channelsMgr.onParticipantAdded += self._onParticipantAdded
self.channelsMgr.onParticipantRemoved += self._onParticipantRemoved
self.channelsMgr.onParticipantUpdated += self._onParticipantUpdated
self.channelsMgr.onJoinedChannel += self._onJoinedChannel
self.channelsMgr.onLeftChannel += self.onLeftChannel
self.channelsMgr.onLogined += self.onLogined
self.channelsMgr.onStateChanged += self.onStateChanged
self.oldMasterVolume = FMOD.getMasterVolume()