Package zombie.core.raknet
Class VoiceManager
java.lang.Object
zombie.core.raknet.VoiceManager
public class VoiceManager
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static VoiceManager
instance
static int
modeMute
static int
modePPT
static int
modeVAD
static long
tem_t
static int
VADModeAggressive
static int
VADModeLowBitrate
static int
VADModeQuality
static int
VADModeVeryAggressive
static boolean
VoipDisabled
-
Constructor Summary
Constructors Constructor Description VoiceManager()
-
Method Summary
Modifier and Type Method Description void
DeinitVMClient()
static void
GetDataCallback100Hz(short[] shortArray)
static void
GetDataCallbackRnd(int int1, short[] shortArray)
static VoiceManager
getInstance()
boolean
getMicVolumeError()
int
getMicVolumeIndicator()
boolean
getServerVOIPEnable()
void
InitVMClient()
void
loadConfig()
void
LuaRegister(Platform platform, KahluaTable kahluaTable)
void
notifyThread()
static boolean
playerGetMute(java.lang.String string)
static void
playerSetMute(java.lang.String string)
void
setMode(int int1)
void
setTestingMicrophone(boolean boolean1)
void
setVADMode(int int1)
void
setVolumeMic(int int1)
void
setVolumePlayers(int int1)
void
update()
void
UpdateRecordDevice()
void
VMServerBan(int int1, boolean boolean1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
VoipDisabled
public static boolean VoipDisabled -
tem_t
public static long tem_t -
modePPT
public static final int modePPT- See Also:
- Constant Field Values
-
modeVAD
public static final int modeVAD- See Also:
- Constant Field Values
-
modeMute
public static final int modeMute- See Also:
- Constant Field Values
-
VADModeQuality
public static final int VADModeQuality- See Also:
- Constant Field Values
-
VADModeLowBitrate
public static final int VADModeLowBitrate- See Also:
- Constant Field Values
-
VADModeAggressive
public static final int VADModeAggressive- See Also:
- Constant Field Values
-
VADModeVeryAggressive
public static final int VADModeVeryAggressive- See Also:
- Constant Field Values
-
-
Constructor Details
-
VoiceManager
public VoiceManager()
-
-
Method Details
-
getInstance
-
GetDataCallbackRnd
public static void GetDataCallbackRnd(int int1, short[] shortArray) -
GetDataCallback100Hz
public static void GetDataCallback100Hz(short[] shortArray) -
setMode
public void setMode(int int1) -
setVADMode
public void setVADMode(int int1) -
setVolumePlayers
public void setVolumePlayers(int int1) -
setVolumeMic
public void setVolumeMic(int int1) -
playerSetMute
public static void playerSetMute(java.lang.String string) -
playerGetMute
public static boolean playerGetMute(java.lang.String string) -
LuaRegister
-
InitVMClient
public void InitVMClient() -
loadConfig
public void loadConfig() -
UpdateRecordDevice
public void UpdateRecordDevice() -
DeinitVMClient
public void DeinitVMClient() -
setTestingMicrophone
public void setTestingMicrophone(boolean boolean1) -
notifyThread
public void notifyThread() -
update
public void update() -
getMicVolumeIndicator
public int getMicVolumeIndicator() -
getMicVolumeError
public boolean getMicVolumeError() -
getServerVOIPEnable
public boolean getServerVOIPEnable() -
VMServerBan
public void VMServerBan(int int1, boolean boolean1)
-