2008-11-06 Willie Walker <
[email protected]>
* drivers/swift/swiftsynthesisdriver.c: fix for bug #559583 -
Swift synthesis driver causes Python client to get
"TypeError: could not demarshal return value" on call to getAllVoices.
The problem boils down to the Cepstral voices using varying
upper/lower cases for the gender string and the fact that the
driver was setting the gender to -1, which is an illegal value.
This patch changes the swift gender string to lower case before
doing a string compare and also defaults the value to male if
the gender string is neither "male" nor "female".