summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--dxr3device.c4
-rw-r--r--dxr3device.h4
3 files changed, 9 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 7d812a8..62ba613 100644
--- a/HISTORY
+++ b/HISTORY
@@ -311,3 +311,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
- clean up leftovers from the image grab code removal in 0.2.5 (Ville Skyttä)
- add Czech i18n placeholders (Ville Skyttä)
+- adapt to VDR 1.3.42 (Ville Skyttä)
diff --git a/dxr3device.c b/dxr3device.c
index 70b5529..01f514a 100644
--- a/dxr3device.c
+++ b/dxr3device.c
@@ -291,7 +291,11 @@ int cDxr3Device::PlayVideo(const uchar *Data, int Length)
// ==================================
// plays additional audio streams, like Dolby Digital
#if VDRVERSNUM >= 10318
+#if VDRVERSNUM >= 10342
+int cDxr3Device::PlayAudio(const uchar *Data, int Length, uchar Id)
+#else
int cDxr3Device::PlayAudio(const uchar *Data, int Length)
+#endif
#else
void cDxr3Device::PlayAudio(const uchar *Data, int Length)
#endif
diff --git a/dxr3device.h b/dxr3device.h
index 333ad1f..8963af4 100644
--- a/dxr3device.h
+++ b/dxr3device.h
@@ -57,7 +57,11 @@ public:
virtual bool Poll(cPoller &Poller, int TimeoutMs = 0);
virtual int PlayVideo(const uchar *Data, int Length);
#if VDRVERSNUM >= 10318
+#if VDRVERSNUM >= 10342
+ virtual int PlayAudio(const uchar *Data, int Length, uchar Id);
+#else
virtual int PlayAudio(const uchar *Data, int Length);
+#endif
#else
virtual void PlayAudio(const uchar *Data, int Length);
#endif