1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# $Id: KX_CDActuator.py 2615 2004-06-02 12:43:27Z kester $
# Documentation for CD Actuator
from SCA_IActuator import *
class KX_CDActuator(SCA_IActuator):
def startCD():
"""
Starts the CD playing.
"""
def stopCD():
"""
Stops the CD playing.
"""
def pauseCD():
"""
Pauses the CD.
"""
def setGain(gain):
"""
Sets the gain (volume) of the CD.
@type gain: float
@param gain: the gain to set the CD to. 0.0 = silent, 1.0 = max volume.
"""
def getGain():
"""
Gets the current gain (volume) of the CD.
@rtype: float
@return: Between 0.0 (silent) and 1.0 (max volume)
"""
|