Increase wait time, should be 5ms

master
Marc Salem 2012-07-16 13:19:22 -07:00
parent b37787be4c
commit 732c83453e
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ static void *playback_function(void * context) {
// No buffer available, wait for a buffer to become available
// or until playback is stopped/suspended
clock_gettime(CLOCK_REALTIME, &ts);
ts.tv_nsec += 5000;
ts.tv_nsec += 5000000;
rc = pthread_cond_timedwait(&(buffer->cond), &(buffer->mutex), &ts);
}