diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2010-03-20 11:29:16 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2010-03-20 11:29:16 +0100 |
commit | 5a2a807bad756353f681b3e0c2db7c1f7ff9d85e (patch) | |
tree | 07246370cb6e949056e7da30df08335e738c7744 /device.h | |
parent | a6a1e233614b8215c10565c33357263d0ba3d831 (diff) | |
download | vdr-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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |