Muhammad Ali
why does the audio stop playing even on a seprate thread
1st of all why are using thread?
2nd where you placed your above code? inside program.cs or inside form?
when you use Thread.sleep it sleeps the current thread. its mean if that thread is handling your audio, it will never work. it will work again after 10 seconds and I think that is happening in your scenario.
29 replies