1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00
vdr-plugin-femon/femonreceiver.h
Rolf Ahrenberg 954f09182f Fixed frequency, guard and bandwidth units in transponder information.
Added Apid2, Dpid1, Dpid2 information.
Added option to write signal information into system log.
2004-03-07 04:20:00 +02:00

41 lines
907 B
C++

/*
* Frontend Status Monitor plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#ifndef __FEMONRECEIVER_H
#define __FEMONRECEIVER_H
#include <vdr/device.h> // only for TS_SIZE
#include <vdr/thread.h>
#include <vdr/receiver.h>
class cFemonReceiver : public cReceiver, public cThread {
private:
bool m_Active;
int m_VideoPid;
int m_AudioPid;
int m_VideoPacketCount;
int m_AudioPacketCount;
double m_VideoBitrate;
double m_AudioBitrate;
protected:
virtual void Activate(bool On);
virtual void Receive(uchar *Data, int Length);
virtual void Action(void);
public:
cFemonReceiver(int Ca, int Vpid, int Apid);
virtual ~cFemonReceiver();
double VideoBitrate(void) { return m_VideoBitrate; }; // Mbit/s
double AudioBitrate(void) { return m_AudioBitrate; }; // kbit/s
};
#endif //__FEMONRECEIVER_H