Package synthDrivers :: Module silence
[hide private]
[frames] | no frames]

Source Code for Module synthDrivers.silence

 1  #synthDrivers/silence.py 
 2  #A part of NonVisual Desktop Access (NVDA) 
 3  #Copyright (C) 2006-2008 NVDA Contributors <http://www.nvda-project.org/> 
 4  #This file is covered by the GNU General Public License. 
 5  #See the file COPYING for more details. 
 6   
 7  import synthDriverHandler 
8 9 -class SynthDriver(synthDriverHandler.SynthDriver):
10 """A dummy synth driver used to disable speech in NVDA. 11 """ 12 name="silence" 13 description=_("No speech") 14 15 @classmethod
16 - def check(cls):
17 return True
18 19 supportedSettings=[] 20
21 - def speak(self,speechSequence):
22 pass #Its silent
23