@@ -402,7 +402,6 @@ STDMETHODIMP CTTSEngObj::Speak( DWORD dwSpeakFlags,
402
402
{
403
403
// --- Notify SAPI how many items we skipped. We're returning zero
404
404
// because this feature isn't implemented.
405
- hr = pOutputSite->CompleteSkip ( 0 );
406
405
}
407
406
}
408
407
@@ -420,7 +419,6 @@ STDMETHODIMP CTTSEngObj::Speak( DWORD dwSpeakFlags,
420
419
WideCharToMultiByte (CP_ACP, 0 , pTextFragList->pTextStart , pTextFragList->ulTextLen , text2speak, strsize, NULL , NULL );
421
420
if (text2speak) eciAddText (engine, text2speak);
422
421
// Insert an index
423
- eciInsertIndex (engine, m_IndexNum);
424
422
// Increment index number and total length
425
423
m_IndexNum++;
426
424
m_TotalLen += pTextFragList->ulTextLen ;
@@ -437,7 +435,6 @@ STDMETHODIMP CTTSEngObj::Speak( DWORD dwSpeakFlags,
437
435
WideCharToMultiByte (CP_ACP, 0 , pTextFragList->pTextStart , pTextFragList->ulTextLen , text2speak, strsize, NULL , NULL );
438
436
if (text2speak) eciAddText (engine, text2speak);
439
437
// Insert an index
440
- eciInsertIndex (engine, m_IndexNum);
441
438
// Increment index number and total length
442
439
m_IndexNum++;
443
440
m_TotalLen += pTextFragList->ulTextLen ;
@@ -477,7 +474,6 @@ STDMETHODIMP CTTSEngObj::Speak( DWORD dwSpeakFlags,
477
474
}
478
475
479
476
// Mark the end of the text
480
- eciInsertIndex (engine, 0x7fffffff );
481
477
482
478
// Synthesize text
483
479
eciSynthesize (engine);
0 commit comments