Module KX_CDActuator

Source Code for Module KX_CDActuator

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