vdr-plugin-iptv/config.h

37 lines
1.0 KiB
C
Raw Normal View History

2007-09-15 17:38:38 +02:00
/*
* config.h: IPTV plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
2007-09-29 18:21:04 +02:00
* $Id: config.h,v 1.7 2007/09/29 16:21:05 rahrenbe Exp $
2007-09-15 17:38:38 +02:00
*/
#ifndef __IPTV_CONFIG_H
#define __IPTV_CONFIG_H
#include <vdr/menuitems.h>
#include "config.h"
class cIptvConfig
{
protected:
unsigned int readBufferTsCount;
2007-09-16 15:38:20 +02:00
unsigned int tsBufferSize;
unsigned int tsBufferPrefillRatio;
unsigned int fileIdleTimeMs;
2007-09-15 17:38:38 +02:00
public:
cIptvConfig();
unsigned int GetReadBufferTsCount(void) { return readBufferTsCount; }
2007-09-16 15:38:20 +02:00
unsigned int GetTsBufferSize(void) { return tsBufferSize; }
unsigned int GetTsBufferPrefillRatio(void) { return tsBufferPrefillRatio; }
unsigned int GetFileIdleTimeMs(void) { return fileIdleTimeMs; }
2007-09-16 15:38:20 +02:00
void SetTsBufferSize(unsigned int Size) { tsBufferSize = Size; }
void SetTsBufferPrefillRatio(unsigned int Ratio) { tsBufferPrefillRatio = Ratio; }
void SetFileIdleTimeMs(unsigned int TimeMs) { fileIdleTimeMs = TimeMs; }
2007-09-15 17:38:38 +02:00
};
extern cIptvConfig IptvConfig;
#endif // __IPTV_CONFIG_H