Syntax
Parameters
type PartySynthesizeTextToSpeechType
The type of text-to-speech operations for which the profile should be retrieved.
profile PartyTextToSpeechProfile**library-allocated output, may return nullptr The output profile. The profile may be nullptr if none has been set for the specified type. The pointer is only valid until the next call to PartyManager::StartProcessingStateChanges().
Return value
PartyErrorc_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().
Remarks
If no profile has been successfully configured for the specified type of text-to-speech operation, the retrieved profile will be null.The retrieved profile will update when a PartySetTextToSpeechProfileCompletedStateChange associated with a call to SetTextToSpeechProfile(), which specified the same value for
type, is provided via PartyManager::StartProcessingStateChanges().
Requirements
Header: Party.hSee also
PartyLocalChatControlPartyLocalChatControl::SetTextToSpeechProfile
