From 66a110fad54cd8fac8182964700bbf213748caee Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 27 Apr 2009 21:24:48 +0200 Subject: get rid of WaitForSysClock and WaitForNextPut, as they are not used --- dxr3syncbuffer.c | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'dxr3syncbuffer.c') diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c index fc454da..bd18af6 100644 --- a/dxr3syncbuffer.c +++ b/dxr3syncbuffer.c @@ -340,39 +340,6 @@ void cDxr3SyncBuffer::Clear(void) } } -// ================================== -void cDxr3SyncBuffer::WaitForSysClock(uint32_t pts, uint32_t delta) -{ - m_waitPts = pts; - m_waitDelta = delta; - if (!m_bPutBlock) - { - m_bWaitPts = true; - m_bGetBlock = true; - ReceiverStopped(); - WaitForGet(); - } - else - { - cCondWait::SleepMs(3); //* (pts - pSysClock->GetSysClock())); - } -} - -// ================================== -void cDxr3SyncBuffer::WaitForNextPut(void) -{ - if (!m_bPutBlock) - { - m_bGetBlock = true; - ReceiverStopped(); - WaitForGet(); - } - else - { - cCondWait::SleepMs(3); - } -} - // ================================== void cDxr3SyncBuffer::Start(void) { -- cgit v1.2.3