From 1bc5ba817c785f6d99ab5e82a9b5f5be3238dd1c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 4 Sep 2005 14:48:39 +0200 Subject: Changed the audio PID language codes to hold up to two 3 letter codes; automatic audio channel setting for two channel audio --- device.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'device.h') diff --git a/device.h b/device.h index c7075cbd..03e82eff 100644 --- a/device.h +++ b/device.h @@ -4,12 +4,13 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 1.62 2005/08/21 08:52:20 kls Exp $ + * $Id: device.h 1.63 2005/09/04 10:50:36 kls Exp $ */ #ifndef __DEVICE_H #define __DEVICE_H +#include "channels.h" #include "ci.h" #include "eit.h" #include "filter.h" @@ -81,12 +82,11 @@ enum eTrackType { ttNone, #define IS_DOLBY_TRACK(t) (ttDolbyFirst <= (t) && (t) <= ttDolbyLast) struct tTrackId { - uint16_t id; // The PES packet id or the PID. - char language[8]; // something like either "eng" or "deu/eng" - char description[32]; // something like "Dolby Digital 5.1" + uint16_t id; // The PES packet id or the PID. + char language[MAXLANGCODE2]; // something like either "eng" or "deu+eng" + char description[32]; // something like "Dolby Digital 5.1" }; -class cChannel; class cPlayer; class cReceiver; class cPesAssembler; -- cgit v1.2.3