diff options
Diffstat (limited to 'dxr3syncbuffer.c')
-rw-r--r-- | dxr3syncbuffer.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c index d5c5ce2..fc454da 100644 --- a/dxr3syncbuffer.c +++ b/dxr3syncbuffer.c @@ -38,7 +38,7 @@ cFixedLengthFrame::cFixedLengthFrame() : { m_audioChannelCount = UNKNOWN_CHANNEL_COUNT; - m_audioDataRate = UNKNOWN_DATA_RATE; + m_audioSampleRate = UNKNOWN_DATA_RATE; m_videoAspectRatio = UNKNOWN_ASPECT_RATIO; } @@ -107,10 +107,6 @@ void cFixedLengthFrame::SetPts(uint32_t pts) } // ================================== -uint32_t cFixedLengthFrame::m_staticAudioDataRate = 0; - - -// ================================== //! constructor cDxr3SyncBuffer::cDxr3SyncBuffer(int frameCount, int frameLength, cDxr3Interface& dxr3Device) : @@ -252,7 +248,7 @@ cFixedLengthFrame* cDxr3SyncBuffer::Push(const uint8_t* pStart, int length, uint lastIndex = m_nextFree; m_pBuffer[m_nextFree].CopyFrame(pStart, length, pts, type); m_pBuffer[m_nextFree].SetChannelCount(UNKNOWN_CHANNEL_COUNT); - m_pBuffer[m_nextFree].SetDataRate(UNKNOWN_DATA_RATE); + m_pBuffer[m_nextFree].SetSampleRate(UNKNOWN_DATA_RATE); m_pBuffer[m_nextFree].SetAspectRatio(UNKNOWN_ASPECT_RATIO); m_nextFree++; m_count++; @@ -342,7 +338,6 @@ void cDxr3SyncBuffer::Clear(void) EnablePut(); m_bPutBlock = false; } - cFixedLengthFrame::Clear(); } // ================================== |