summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-09-14 13:46:13 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2008-09-14 13:46:13 +0200
commit8ad7803a4674e68761ab59db7751ad3ed3bd1126 (patch)
tree926ed38b3559c4074c28ce734318a05ebc0f1f89 /device.h
parent86b8a2ec24ae86928f8b991f4a6a735e41a03f59 (diff)
downloadvdr-8ad7803a4674e68761ab59db7751ad3ed3bd1126.tar.gz
vdr-8ad7803a4674e68761ab59db7751ad3ed3bd1126.tar.bz2
Added a note about 'Id' being obsolete to the description of cDevice::PlayAudio()
Diffstat (limited to 'device.h')
-rw-r--r--device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/device.h b/device.h
index 8924aa92..2ce658c0 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 2.2 2008/07/06 11:25:42 kls Exp $
+ * $Id: device.h 2.3 2008/09/14 13:44:54 kls Exp $
*/
#ifndef __DEVICE_H
@@ -494,6 +494,9 @@ protected:
///< Plays the given data block as audio.
///< Data points to exactly one complete PES packet of the given Length.
///< Id indicates the type of audio data this packet holds.
+ ///< Note that as of version 1.7.1 Id is obsolete and may be 0 (in case of
+ ///< TS replay). Plugins that need to know this Id shall read it from the
+ ///< actual PES data (it's the 4th byte).
///< PlayAudio() shall process the packet either as a whole (returning
///< Length) or not at all (returning 0 or -1 and setting 'errno' to EAGAIN).
///< \return Returns the number of bytes actually taken from Data, or -1