Reputation: 73721
I have a part of my program that uses the TTS engine in a service but I want to add a 3 second delay from when it should be done so that it does not overlap with other audio that would be playing. how can I put that 3 second delay in?
Upvotes: 1
Views: 1687
Reputation: 681
use the thread concept. Make a new thread and place the part of code which uses TTS engine in a service and give delay.
Upvotes: 1