diff options
author | austriancoder <austriancoder> | 2005-01-03 10:20:44 +0000 |
---|---|---|
committer | austriancoder <austriancoder> | 2005-01-03 10:20:44 +0000 |
commit | bc55e3d58033434df1b5af53ceba8697f475f43d (patch) | |
tree | 2d2f1317038e68c2a490a1df9743be447f9dd45e | |
parent | 362460f0e4c99d87151b4b64a7b87cc5f5de00df (diff) | |
download | vdr-plugin-dxr3-bc55e3d58033434df1b5af53ceba8697f475f43d.tar.gz vdr-plugin-dxr3-bc55e3d58033434df1b5af53ceba8697f475f43d.tar.bz2 |
ironed out some compile errors
-rw-r--r-- | dxr3audiodecoder.c | 8 | ||||
-rw-r--r-- | dxr3configdata.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/dxr3audiodecoder.c b/dxr3audiodecoder.c index a4ee123..b9a0b66 100644 --- a/dxr3audiodecoder.c +++ b/dxr3audiodecoder.c @@ -146,7 +146,7 @@ void cDxr3AudioDecoder::Decode(const uint8_t* buf, int length, uint32_t pts, cDx if (m_Codec.codec_context.sample_rate != m_Rate) { cLog::Instance() << "cDxr3AudioDecoder::Decode Sample rate = " << m_Codec.codec_context.sample_rate << "\n"; - if (rate != -1) throw UNEXPECTED_PARAMETER_CHANGE; + if (m_Rate != -1) throw UNEXPECTED_PARAMETER_CHANGE; m_Rate = m_Codec.codec_context.sample_rate; } if (m_Codec.codec_context.channels != m_Channels+1 ) @@ -157,9 +157,9 @@ void cDxr3AudioDecoder::Decode(const uint8_t* buf, int length, uint32_t pts, cDx } if (out_size) { - cFixedLengthFrame* pTempFrame = aBuf.Push(PcmBuf, out_size, pts); - pTempFrame->SetChannelCount(channels); - pTempFrame->SetDataRate(rate); + cFixedLengthFrame* pTempFrame = aBuf.Push(m_PcmBuf, out_size, pts); + pTempFrame->SetChannelCount(m_Channels); + pTempFrame->SetDataRate(m_Rate); } length -= len; buf += len; diff --git a/dxr3configdata.h b/dxr3configdata.h index 06aeacf..f26130e 100644 --- a/dxr3configdata.h +++ b/dxr3configdata.h @@ -83,7 +83,7 @@ public: // some little helpers to save some writing int GetDebugLow() const { return (m_Debug && !m_DebugLevel); } - int GetDebugEverything() const { if (m_Debug && !m_DebugLeevel) { return 1; } else { return 0; } } + int GetDebugEverything() const { if (m_Debug && !m_DebugLevel) { return 1; } else { return 0; } } int GetBrightness() const { return m_Brightness; } int SetBrightness(int value) { return m_Brightness = value; } |