summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-11-07 14:16:25 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-11-07 14:16:25 +0100
commit85767a54058ac2de21a51fe58c33fbd1c5bb4628 (patch)
tree4cd157a7f1bf004447bb4a5ea479eaa86603c81e /device.h
parent2a7467aed5a0b96e64bc5e7493c96d89583d3a6d (diff)
downloadvdr-85767a54058ac2de21a51fe58c33fbd1c5bb4628.tar.gz
vdr-85767a54058ac2de21a51fe58c33fbd1c5bb4628.tar.bz2
Added cDevice::GetSTC()
Diffstat (limited to 'device.h')
-rw-r--r--device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/device.h b/device.h
index 144adfb6..d73864f2 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 1.34 2003/08/15 13:05:50 kls Exp $
+ * $Id: device.h 1.35 2003/11/07 13:15:45 kls Exp $
*/
#ifndef __DEVICE_H
@@ -320,6 +320,10 @@ protected:
///< Sets the device into the given play mode.
///< \return true if the operation was successful.
public:
+ virtual int64_t GetSTC(void);
+ ///< Gets the current System Time Counter, which can be used to
+ ///< synchronize audio and video. If this device is unable to
+ ///< provide the STC, -1 will be returned.
virtual void TrickSpeed(int Speed);
///< Sets the device into a mode where replay is done slower.
///< Every single frame shall then be displayed the given number of