Changeset 2204
- Timestamp:
- 07/08/08 11:50:41 (6 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
. (modified) (2 props)
-
source/config/__init__.py (modified) (2 diffs)
-
source/synthDrivers/_espeak.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
-
old new 139 139 2006 jamie@jantrid.net-20080708102731-b46rnm6cphzz5r8l 140 140 2007 jamie@jantrid.net-20080708110110-fm9iiolh2jzd40em 141 2008 jamie@jantrid.net-20080708114613-18fr7ji049ie7c6h
-
- Property bzr:revision-info
-
old new 1 timestamp: 2008-07-08 21: 01:10.503999949+10001 timestamp: 2008-07-08 21:46:13.611000061 +1000 2 2 committer: James Teh <jamie@jantrid.net> 3 3 properties:
-
- Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
-
trunk/source/config/__init__.py
r2177 r2204 121 121 def load(): 122 122 """Loads the configuration from the configFile. It also takes note of the file's modification time so that L{save} won't loose any changes made to the file while NVDA is running. 123 """123 """ 124 124 global conf, mtime 125 125 # If the config file exists, store its mtime. … … 127 127 mtime = os.path.getmtime(configFileName) 128 128 confspec.seek(0) 129 conf = ConfigObj(configFileName, configspec = confspec, indent_type = "\t" )129 conf = ConfigObj(configFileName, configspec = confspec, indent_type = "\t", encoding="UTF-8") 130 130 # Python converts \r\n to \n when reading files in Windows, so ConfigObj can't determine the true line ending. 131 131 conf.newlines = "\r\n" -
trunk/source/synthDrivers/_espeak.py
r2177 r2204 264 264 espeakDLL.espeak_ListVoices.restype=POINTER(POINTER(espeak_VOICE)) 265 265 espeakDLL.espeak_GetCurrentVoice.restype=POINTER(espeak_VOICE) 266 espeakDLL.espeak_SetVoiceByName.argtypes=(c_char_p,) 266 267 sampleRate=espeakDLL.espeak_Initialize(AUDIO_OUTPUT_SYNCHRONOUS,300,"synthDrivers",0) 267 268 if sampleRate<0:

NVDA is supported by