Retrieves the default language used when synthesizing speech.
DWORD saiTtsGetSpeechLanguage ( SAI_SYNTHESIZER_HANDLE synthHd, SAI_SPEECH_LANGUAGE *language )
|
Argument |
Description |
|
synthHd |
Handle associated with a synthesizer resource. |
|
language |
Pointer to the SAI_SPEECH_LANGUAGE structure: typedef struct For more information, refer to SAI_SPEECH_LANGUAGE. |
|
Return value |
Description |
|
SUCCESS |
|
|
SAIERR_INVALID_PARAMETER |
One of the specified arguments is invalid. |
|
SAIERR_UNSUPPORTED_SPEECH_PARAMETER |
Speech engine does not support the specified parameter. |