summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2010-03-20 11:29:16 +0100
committerLars Hanisch <dvb@flensrocker.de>2010-03-20 11:29:16 +0100
commit5a2a807bad756353f681b3e0c2db7c1f7ff9d85e (patch)
tree07246370cb6e949056e7da30df08335e738c7744 /device.h
parenta6a1e233614b8215c10565c33357263d0ba3d831 (diff)
downloadvdr-plugin-pvrinput-5a2a807bad756353f681b3e0c2db7c1f7ff9d85e.tar.gz
vdr-plugin-pvrinput-5a2a807bad756353f681b3e0c2db7c1f7ff9d85e.tar.bz2
Refactoring usage of frequency and encoderinput fields
Naming convention: Properties of current set channel should start with "Current". Properties of the channel to be set should start with "new".
Diffstat (limited to 'device.h')
-rw-r--r--device.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/device.h b/device.h
index a43ef85..693591e 100644
--- a/device.h
+++ b/device.h
@@ -73,7 +73,7 @@ private:
int radio_dev;
int inputs[12];
int numInputs;
- int frequency;
+ int CurrentFrequency;
int vpid;
int apid;
int tpid;
@@ -87,7 +87,6 @@ private:
eVideoInputs newEncoderInput;
cString BusID;
eEncState EncoderState;
- eVideoInputs EncoderInput;
int driver_apiversion;
bool SupportsSlicedVBI;
bool hasDecoder;
@@ -133,7 +132,7 @@ public:
void StopReadThread(void);
void GetStandard(void);
void TurnOffSlicedVBI(void);
- bool Tune(eVideoInputs encoderInput, int frequency);
+ bool Tune(int frequency);
bool SetInput(int input);
bool SetAudioInput(int input);
bool SetVideoNorm(uint64_t norm);