diff options
-rw-r--r-- | dxr3syncbuffer.c | 33 | ||||
-rw-r--r-- | dxr3syncbuffer.h | 2 |
2 files changed, 0 insertions, 35 deletions
diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c index fc454da..bd18af6 100644 --- a/dxr3syncbuffer.c +++ b/dxr3syncbuffer.c @@ -341,39 +341,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) { m_bStartReceiver = true; 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) |