Thanks for reply. The problem is that progressbar doesn't change (keep freeze state) and throws that message ("Buffer getting full, taking a break") in infinite loop. It seems that buffer can't get full. But if i add "bufferedWaveProvider.ClearBuffer();" after "Thread.Sleep(500);" it works ok. I can't understand the reason of that.
P.S. about 10 seconds it works fine but then occurs this problem
P.S. about 10 seconds it works fine but then occurs this problem