Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Update Plasma.py stubs for ASYS
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas committed Oct 25, 2019
1 parent d9cd5c6 commit d6751a0
Showing 1 changed file with 12 additions and 60 deletions.
72 changes: 12 additions & 60 deletions Python/plasma/Plasma.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,46 +1281,22 @@ def enableVoiceChat(self,state):
"""Enables or disables voice chat."""
pass

def enableVoiceCompression(self,state):
"""Enables or disables voice compression."""
pass

def enableVoiceNetBroadcast(self,state):
"""Enables or disables voice over network broadcast."""
pass

def enableVoiceRecording(self,state):
"""Enables or disables voice recording."""
pass

def getAmbienceVolume(self):
"""Returns the volume (0.0 to 1.0) for the Ambiance."""
pass

def getAudioDeviceName(self,index):
"""Gets the name of audio device for the given index"""
pass

def getDeviceName(self):
"""Gets the name for the device being used by the audio system"""
def getFriendlyDeviceName(self):
"""Returns the provided device name without any OpenAL prefixes applied."""
pass

def getGUIVolume(self):
"""Returns the volume (0.0 to 1.0) for the GUI dialogs."""
pass

def getHighestMode(self):
"""Gets the highest possible audio system mode"""
pass

def getMicLevel(self):
"""Returns the microphone recording level (0.0 to 1.0)."""
pass

def getMode(self):
"""Gets the audio system mode"""
pass

def getMusicVolume(self):
"""Returns the volume (0.0 to 1.0) for the Music."""
pass
Expand All @@ -1329,8 +1305,12 @@ def getNPCVoiceVolume(self):
"""Returns the volume (0.0 to 1.0) for the NPC's voice."""
pass

def getNumAudioDevices(self):
"""Returns the number of available audio devices."""
def getPlaybackDevice(self):
"""Gets the name for the device being used by the audio system."""
pass

def getPlaybackDevices(self):
"""Gets the names of all available audio playback devices."""
pass

def getPriorityCutoff(self):
Expand All @@ -1353,10 +1333,6 @@ def isEnabled(self):
"""Is the audio enabled? Returns 1 if true otherwise returns 0."""
pass

def isHardwareAccelerated(self):
"""Is audio hardware acceleration enabled? Returns 1 if true otherwise returns 0."""
pass

def isMuted(self):
"""Are all sounds muted? Returns 1 if true otherwise returns 0."""
pass
Expand All @@ -1365,10 +1341,6 @@ def isUsingEAXAcceleration(self):
"""Is EAX sound acceleration enabled? Returns 1 if true otherwise returns 0."""
pass

def isVoiceCompressionEnabled(self):
"""Is voice compression enabled? Returns 1 if true otherwise returns 0."""
pass

def isVoiceNetBroadcastEnabled(self):
"""Is voice over net enabled? Returns 1 if true otherwise returns 0."""
pass
Expand All @@ -1385,23 +1357,11 @@ def pushToTalk(self,state):
"""Enables or disables 'push-to-talk'."""
pass

def recordFrame(self,size):
"""Sets the voice packet frame size."""
pass

def recordSampleRate(self,sampleRate):
"""Sets the recording sample rate."""
pass

def setAmbienceVolume(self,volume):
"""Sets the Ambience volume (0.0 to 1.0) for the game.
This only sets the volume for this game session."""
pass

def setDeviceName(self,devicename,restart):
"""Sets the device name for the audio system, and optionally restarts it"""
pass

def setGUIVolume(self,volume):
"""Sets the GUI dialog volume (0.0 to 1.0) for the game.
This only sets the volume for this game session."""
Expand All @@ -1415,10 +1375,6 @@ def setMicLevel(self,level):
"""Sets the microphone recording level (0.0 to 1.0)."""
pass

def setMode(self,mode):
"""Sets the audio system mode"""
pass

def setMusicVolume(self,volume):
"""Sets the Music volume (0.0 to 1.0) for the game.
This only sets the volume for this game session."""
Expand All @@ -1429,6 +1385,10 @@ def setNPCVoiceVolume(self,volume):
This only sets the volume for this game session."""
pass

def setPlaybackDevice(self,devicename,restart):
"""Sets audio system output device by name, and optionally restarts it"""
pass

def setPriorityCutoff(self,priority):
"""Sets the sound priority"""
pass
Expand Down Expand Up @@ -1456,10 +1416,6 @@ def squelchLevel(self,level):
"""Sets the squelch level."""
pass

def supportsEAX(self):
"""Returns true or false based on whether or not a the device specified supports EAX"""
pass

def unmuteAll(self):
"""Unmutes all sounds."""
pass
Expand All @@ -1468,10 +1424,6 @@ def useEAXAcceleration(self,state):
"""Enables or disables EAX sound acceleration (requires hardware acceleration)."""
pass

def useHardwareAcceleration(self,state):
"""Enables or disables audio hardware acceleration."""
pass

class ptAvatar:
"""Plasma avatar class"""
def __init__(self):
Expand Down

0 comments on commit d6751a0

Please sign in to comment.