]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/dvb/audio.h
V4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls
[mv-sheeva.git] / include / linux / dvb / audio.h
index 2b8797084685fcaacbb219036e2a29dfcea2c85c..0874a67c6b922de7e5ab9e81ac2fda4907a96135 100644 (file)
@@ -121,4 +121,17 @@ typedef uint16_t audio_attributes_t;
 #define AUDIO_SET_ATTRIBUTES       _IOW('o', 17, audio_attributes_t)
 #define AUDIO_SET_KARAOKE          _IOW('o', 18, audio_karaoke_t)
 
+/**
+ * AUDIO_GET_PTS
+ *
+ * Read the 33 bit presentation time stamp as defined
+ * in ITU T-REC-H.222.0 / ISO/IEC 13818-1.
+ *
+ * The PTS should belong to the currently played
+ * frame if possible, but may also be a value close to it
+ * like the PTS of the last decoded frame or the last PTS
+ * extracted by the PES parser.
+ */
+#define AUDIO_GET_PTS              _IOR('o', 19, __u64)
+
 #endif /* _DVBAUDIO_H_ */