From a3f259961e39e7820b3b634208b2f0bcb8507920 Mon Sep 17 00:00:00 2001 From: scop Date: Sun, 28 Jan 2007 16:51:15 +0000 Subject: Use cCondWait::SleepMs() instead of usleep(). --- dxr3syncbuffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dxr3syncbuffer.c') diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c index e930744..275a801 100644 --- a/dxr3syncbuffer.c +++ b/dxr3syncbuffer.c @@ -25,7 +25,6 @@ sufficient control algorithm is implemented */ -#include #include #include "dxr3syncbuffer.h" @@ -376,7 +375,7 @@ void cDxr3SyncBuffer::WaitForSysClock(uint32_t pts, uint32_t delta) } else { - usleep(1); //* (pts - pSysClock->GetSysClock())); + cCondWait::SleepMs(3); //* (pts - pSysClock->GetSysClock())); } } @@ -391,7 +390,7 @@ void cDxr3SyncBuffer::WaitForNextPut(void) } else { - usleep(1); + cCondWait::SleepMs(3); } } -- cgit v1.2.3