Sapi to Tapi streaming

Oct 31, 2008 at 9:37 AM

How can I stream the Sam's voice over a tapi call?
Right now I generate a wav file and then play it over tapi but I know it is possible to hook these technologies up. The simpletelephony sample in speech sdk does this but it would be great to do it using C4F library as it hides a lot of low level details from us.

           Dim _sapiManager As SapiManager = New SapiManager
            _sapiManager.ToWave(_message, _wavMessagePath, False)

The file is in use after this code is executed and I can't use it further to play it with TAPI. Am I missing anything? the message is "hello there".
Is there a synchronous way to generate the wav file?