2 writes to Duration
System.Speech (2)
Internal\Synthesis\SSmlParser.cs (2)
383
ssmlAttributes._fragmentState.
Duration
= ParseCSS2Time(sTime);
392
ssmlAttributes._fragmentState.
Duration
= 0;
5 references to Duration
System.Speech (5)
Internal\Synthesis\ConvertTextFrag.cs (1)
60
sapiState.SilenceMSecs = SapiSilence(ssmlState.
Duration
, (EmphasisBreak)ssmlState.Emphasis);
Internal\Synthesis\SSmlParser.cs (2)
384
isInvalidAttribute = ssmlAttributes._fragmentState.
Duration
< 0;
420
engine.ProcessBreak(ssmlAttributes._voice, ref ssmlAttributes._fragmentState, (EmphasisBreak)ssmlAttributes._fragmentState.Emphasis, ssmlAttributes._fragmentState.
Duration
, fIgnore);
Synthesis\TTSEngine\TTSEngineTypes.cs (2)
241
return 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);