summaryrefslogtreecommitdiff
path: root/dxr3audiodecoder.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-04-30 15:25:39 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-04-30 15:25:39 +0200
commit866fb1efa104fb4f353f300426dbcd7ea42ff2c5 (patch)
treefc0bbbcd47c8033df5f8153fb123e1bcecb43184 /dxr3audiodecoder.h
parent18a2e0543b0074b11d4a2b473d476443f314f3e5 (diff)
downloadvdr-plugin-dxr3-866fb1efa104fb4f353f300426dbcd7ea42ff2c5.tar.gz
vdr-plugin-dxr3-866fb1efa104fb4f353f300426dbcd7ea42ff2c5.tar.bz2
no need to store channels and sample rate in the audiodecoder
Diffstat (limited to 'dxr3audiodecoder.h')
-rw-r--r--dxr3audiodecoder.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/dxr3audiodecoder.h b/dxr3audiodecoder.h
index 29ead1a..d81b66a 100644
--- a/dxr3audiodecoder.h
+++ b/dxr3audiodecoder.h
@@ -50,9 +50,6 @@ public:
void DecodeAc3Dts(const uint8_t* pPes, const uint8_t* buf, int length,
uint32_t pts, cDxr3SyncBuffer &aBuf);
- int GetRate() const { return rate; }
- int GetChannelCount() const { return channels; }
-
void Reset()
{
ac3dtsDecoder.Clear();
@@ -72,8 +69,6 @@ private:
bool foundHeader;
bool decodeAudio;
- int rate;
- int channels;
uint8_t lastHeader[4];
uint8_t pcmbuf[AVCODEC_MAX_AUDIO_FRAME_SIZE];
};