mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +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;
|
||||
|
||||
// make sure our agent socket is non-blocking
|
||||
agentList->getAgentSocket().setBlocking(false);
|
||||
|
||||
int nextFrame = 0;
|
||||
timeval startTime;
|
||||
|
||||
|
|
Loading…
Reference in a new issue