aboutsummaryrefslogtreecommitdiff
path: root/sound/timestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/timestamp.h')
-rw-r--r--sound/timestamp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/timestamp.h b/sound/timestamp.h
index fcfa8cf5fc..cf149a65d0 100644
--- a/sound/timestamp.h
+++ b/sound/timestamp.h
@@ -78,6 +78,14 @@ public:
Timestamp(uint32 msecs, int framerate);
/**
+ * Set up a timestamp with a given time, frames and framerate.
+ * @param secs starting time in seconds
+ * @param frames starting frames
+ * @param framerate number of frames per second (must be > 0)
+ */
+ Timestamp(uint secs, int frames, int framerate);
+
+ /**
* Return a timestamp which represents as closely as possible
* the point in time describes by this timestamp, but with
* a different framerate.