16
Network / Re: VOIP example
« on: July 06, 2011, 09:43:54 pm »Quote from: "Haikarainen"
Quote from: "troopson"i used some code from VOIP example and i set blocking sockets to none so my application is real-time etc. Here is the code from example which makes my program working sloooooooow.Code: [Select]while ((myOffset == mySamples.size()) && !myHasFinished)
sf::Sleep(0.01f);
When i remove this receiving the sound doesnt work. How do i change this?[/code]
Im not experienced in the current matter, but try commenting out the sf::Sleep
Simply commenting that out will cause unintended behavior because the while statement is unbracketed.