3 writes to LangId
System.Speech (3)
Internal\Synthesis\SSmlParser.cs (3)
200ssmlAttributes._fragmentState.LangId = culture.LCID; 693ssmlAttributes._fragmentState.LangId = culture!.LCID; 1196ssmlAttributes._fragmentState.LangId = culture.LCID;
8 references to LangId
System.Speech (8)
Internal\Synthesis\ConvertTextFrag.cs (1)
42sapiState.LangID = (short)ssmlState.LangId;
Internal\Synthesis\SSmlParser.cs (5)
689bool fNewCulture = culture != null && culture.LCID != ssmlAttributes._fragmentState.LangId; 786aPhoneIds = PhonemeConverter.ConvertPronToId(sPh, ssmlAttributes._fragmentState.LangId).ToCharArray(); 811aPhoneIds = PhonemeConverter.ConvertPronToId(sPh, ssmlAttributes._fragmentState.LangId).ToCharArray(); 1193culture ??= new CultureInfo(ssmlAttributes._fragmentState.LangId); 1194bool fNewCulture = culture.LCID != ssmlAttributes._fragmentState.LangId;
Synthesis\TTSEngine\TTSEngineTypes.cs (2)
241return state1.Action == state2.Action && state1.LangId == state2.LangId && state1.Emphasis == state2.Emphasis && state1.Duration == state2.Duration && state1.SayAs == state2.SayAs && state1.Prosody == state2.Prosody && Array.Equals(state1.Phoneme, state2.Phoneme);