--- advchctrl-0.0.5/advchctrl.c +++ advchctrl-0.0.5/advchctrl.c @@ -123,9 +123,15 @@ } } +#if VDRVERSNUM >= 10338 +void cStatusAdvChCtrl::Replaying(const cControl *Control, const char *Name, const char *FileName, bool On) +{ + isInReplayMode = On; +#else void cStatusAdvChCtrl::Replaying(const cControl *Control, const char *Name) { isInReplayMode = (Name != NULL ? true : false); +#endif DEBUGVOL ("cStatusAdvChCtrl::Replaying <%s> <%s>", Name, (isInReplayMode ? "yes" : "no")); if (!(ActualVolume == advchctrlConfig.defaultvolume) && isInReplayMode) { --- advchctrl-0.0.5/advchctrl.h +++ advchctrl-0.0.5/advchctrl.h @@ -16,7 +16,11 @@ protected: virtual void ChannelSwitch (const cDevice *Device, int ChannelNumber); virtual void SetVolume (int Volume, bool Absolute); +#if VDRVERSNUM >= 10338 + virtual void Replaying (const cControl *Control, const char *Name, const char *FileName, bool On); +#else virtual void Replaying (const cControl *Control, const char *Name); +#endif }; class cPluginAdvChCtrl : public cPlugin {