insert waittime in net stream to reduce cpu hog

git-svn-id: svn://code.dyne.org/veejay/trunk@909 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2007-04-05 16:35:01 +00:00
parent 199314ca59
commit aa7db2392f

View File

@@ -112,7 +112,7 @@ void *reader_thread(void *data)
retrieve = 1;
}
int wait_time = 0;
int wait_time = 15000;
if(!error && retrieve)
{
@@ -127,7 +127,7 @@ void *reader_thread(void *data)
}
else
{
wait_time = 1000;
wait_time += 1000;
}
ret = 0;
}