mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 18:15:13 +02:00
make the audio mixer socket non-blocking so it doesn't halt waiting for data
This commit is contained in:
parent
812f877984
commit
0a6adc7ed3
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ int main(int argc, const char* argv[]) {
|
||||||
|
|
||||||
sockaddr *agentAddress = new sockaddr;
|
sockaddr *agentAddress = new sockaddr;
|
||||||
|
|
||||||
|
// make sure our agent socket is non-blocking
|
||||||
|
agentList->getAgentSocket().setBlocking(false);
|
||||||
|
|
||||||
int nextFrame = 0;
|
int nextFrame = 0;
|
||||||
timeval startTime;
|
timeval startTime;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue