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 --------------------------------- dxr3syncbuffer.h | 2 -- 2 files changed, 35 deletions(-) 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) { diff --git a/dxr3syncbuffer.h b/dxr3syncbuffer.h index f541b8c..0d2deb0 100644 --- a/dxr3syncbuffer.h +++ b/dxr3syncbuffer.h @@ -101,8 +101,6 @@ public: m_bStopped = true; }; void Start(void); - void WaitForSysClock(uint32_t pts, uint32_t delta); - void WaitForNextPut(void); void WakeUp(void); void WaitForReceiverStopped(void); void SetDemuxMode(eDxr3DemuxMode demuxMode) -- cgit v1.2.3