C_TTSSettings.GetVoiceOptionID

From Warcraft Wiki
Jump to navigation Jump to search

Get the user's preferred text to speech voices.

voiceID = C_TTSSettings.GetVoiceOptionID(voiceType)

Arguments

voiceType
Enum.TtsVoiceType
Value Field Description
0 Standard
1 Alternate

Returns

voiceID
number - Used with C_VoiceChat.SpeakText().

Patch changes

Shadowlands Patch 9.1.5 (2021-11-02): Added.