SPF_ASYNC was what I was missing. It works fine now, but I am now trying to get different voices. The female voice is fine, but I want to have a male voice as well. Ultimately, I want to utilize Windows' TTS in my game. Certain alien races in the game will have to use a voice synthisizer to communicate because they normally talk in "clicks" and can't speak without one. This "limitation" of their speech does 2 things for me: It gives the game a sense of the exotic and utilizing the TTS will reduce the size of the game by only needing text files instead of sound files for conversation.
So, does anyone know how to change the voice? I can make the pitch change, but it's still female. I would like to have a male voice as well. The more voice variations the better......
The fastest code is the code never written.