1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00
vdr-plugin-femon/femontools.h
Rolf Ahrenberg 37957be99f Updated for vdr-1.3.31.
Added preliminary svdrp and service support.
2005-08-28 04:20:00 +03:00

33 lines
723 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 __FEMONTOOLS_H
#define __FEMONTOOLS_H
#include <stdint.h>
#include <vdr/tools.h>
#ifdef FEMON_DEBUG
#define Dprintf(x...) printf(x);
#else
#define Dprintf(x...) ;
#endif
#define FRONTEND_DEVICE "/dev/dvb/adapter%d/frontend%d"
cString getFrontendName(int cardIndex = 0);
cString getFrontendStatus(int cardIndex = 0);
uint16_t getSNR(int cardIndex = 0);
uint16_t getSignal(int cardIndex = 0);
uint32_t getBER(int cardIndex = 0);
uint32_t getUNC(int cardIndex = 0);
double getVideoBitrate(void);
double getAudioBitrate(void);
#endif // __FEMONTOOLS_H