1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a note about 'Id' being obsolete to the description of cDevice::PlayAudio()

This commit is contained in:
Klaus Schmidinger 2008-09-14 13:46:13 +02:00
parent 86b8a2ec24
commit 8ad7803a46
3 changed files with 11 additions and 4 deletions

View File

@ -5831,3 +5831,7 @@ Video Disk Recorder Revision History
- Fixed wrong value for TableIdBAT in libsi/si.h (thanks to Winfried Köhler).
- Removed unneeded include files <linux/dvb/dmx.h> und <time.h> from remux.h
(reported by Tobias Grimm).
2008-09-14: Version 1.7.2
- Added a note about 'Id' being obsolete to the description of cDevice::PlayAudio().

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: config.h 2.3 2008/09/06 14:06:56 kls Exp $
* $Id: config.h 2.4 2008/09/14 13:46:13 kls Exp $
*/
#ifndef __CONFIG_H
@ -22,8 +22,8 @@
// VDR's own version number:
#define VDRVERSION "1.7.1"
#define VDRVERSNUM 10701 // Version * 10000 + Major * 100 + Minor
#define VDRVERSION "1.7.2"
#define VDRVERSNUM 10702 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number:

View File

@ -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