summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-11-07 15:30:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-11-07 15:30:51 +0100
commit30d9af07a8379df62cdd33c0bafe1c65dd5bdc58 (patch)
tree51becc825a1d796cd747e97bd0682ea9a96ce40a /device.h
parent327b4c35ac60dcbe00cc8fa08cd5c129c685de83 (diff)
downloadvdr-30d9af07a8379df62cdd33c0bafe1c65dd5bdc58.tar.gz
vdr-30d9af07a8379df62cdd33c0bafe1c65dd5bdc58.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..c306b4cd 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.34.1.1 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