make the audio mixer socket non-blocking so it doesn't halt waiting for data

This commit is contained in:
Stephen Birarda 2013-05-09 12:46:59 -07:00
parent 812f877984
commit 0a6adc7ed3

View file

@ -93,6 +93,9 @@ int main(int argc, const char* argv[]) {
sockaddr *agentAddress = new sockaddr;
// make sure our agent socket is non-blocking
agentList->getAgentSocket().setBlocking(false);
int nextFrame = 0;
timeval startTime;