aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dvb/audio.h
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2006-02-26 22:09:00 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-26 22:09:00 -0500
commitf05cce863fa399dd79c5aa3896d608b8b86d8030 (patch)
tree0bca256b945576dc99ae7e6d6ce6a02968f42a09 /include/linux/dvb/audio.h
parent2e0d447005d2ac05b15aa21b3846815f90bafbdb (diff)
V4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls
Add two new ioctls to read the 33 bit presentation time stamp from audio and video devices as defined in ITU T-REC-H.222.0 and ISO/IEC 13818-1. Acked-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/dvb/audio.h')
-rw-r--r--include/linux/dvb/audio.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/dvb/audio.h b/include/linux/dvb/audio.h
index 2b8797084685..0874a67c6b92 100644
--- a/include/linux/dvb/audio.h
+++ b/include/linux/dvb/audio.h
@@ -121,4 +121,17 @@ typedef uint16_t audio_attributes_t;
121#define AUDIO_SET_ATTRIBUTES _IOW('o', 17, audio_attributes_t) 121#define AUDIO_SET_ATTRIBUTES _IOW('o', 17, audio_attributes_t)
122#define AUDIO_SET_KARAOKE _IOW('o', 18, audio_karaoke_t) 122#define AUDIO_SET_KARAOKE _IOW('o', 18, audio_karaoke_t)
123 123
124/**
125 * AUDIO_GET_PTS
126 *
127 * Read the 33 bit presentation time stamp as defined
128 * in ITU T-REC-H.222.0 / ISO/IEC 13818-1.
129 *
130 * The PTS should belong to the currently played
131 * frame if possible, but may also be a value close to it
132 * like the PTS of the last decoded frame or the last PTS
133 * extracted by the PES parser.
134 */
135#define AUDIO_GET_PTS _IOR('o', 19, __u64)
136
124#endif /* _DVBAUDIO_H_ */ 137#endif /* _DVBAUDIO_H_ */