TtsGetSupportedParams
Return the list of all the supported parameter names for TtsSetParamsEx and TtsGetParamEx.
TTSRETVAL TtsGetSupportedParams(
HTTSINSTANCE hTtsInst,
LH_BOOL bUseMrcpNames,
VXIVector * pSupportedParams);
Argument |
Description |
---|---|
hTtsInst |
[in] Handle to a TTS engine instance. |
bUseMrcpNames |
[in] LH_TRUE gives a list of MRCP parameter names (aliases for the native Vocalizer parameter names). LH_FALSE gives a list of the native Vocalizer parameter names (excluding the MRCP parameter name aliases). |
pSupportedParams |
[out] Application provided VXIVector that gets populated with the parameter names, where each element is a VXIString that gives a parameter name. |
This function is helpful for supporting blind parameter pass-through for protocols like MRCP, making new Vocalizer parameters accessible over those protocols without having to change middleware.
MRCP parameter names are case-insensitive, but Vocalizer native parameter names are case-sensitive.