diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-10 09:25:14 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-10 09:25:14 +0200 |
commit | 91b51148385826769300454ad972a1623cfccb9e (patch) | |
tree | da66e65bbcc3564cea0c730684b1ee2d03c781ab /libdtv/libsi/include/libsi.h | |
parent | dc8fd12f91713c2eec49ae38ab34f09fd7e73369 (diff) | |
download | vdr-91b51148385826769300454ad972a1623cfccb9e.tar.gz vdr-91b51148385826769300454ad972a1623cfccb9e.tar.bz2 |
Implemented the CableDeliverySystemDescriptor in libdtv
Diffstat (limited to 'libdtv/libsi/include/libsi.h')
-rw-r--r-- | libdtv/libsi/include/libsi.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libdtv/libsi/include/libsi.h b/libdtv/libsi/include/libsi.h index cd07fc6d..a5e587b2 100644 --- a/libdtv/libsi/include/libsi.h +++ b/libdtv/libsi/include/libsi.h @@ -1054,6 +1054,28 @@ struct SatelliteDeliverySystemDescriptor { ((struct SatelliteDeliverySystemDescriptor *)descr)->FEC = fec; \ } while (0) +/* CableDeliverySystemDescriptor */ + +struct CableDeliverySystemDescriptor { + struct NODE Node; + unsigned short Tag; + long Frequency; + long SymbolRate; + char FEC; + char Modulation; +}; + +#define CreateCableDeliverySystemDescriptor(descr, freq, sr, fec, mod) \ + do \ + { \ + xCreateNode (((struct CableDeliverySystemDescriptor *)descr), NULL); \ + ((struct CableDeliverySystemDescriptor *)descr)->Tag = DESCR_CABLE_DEL_SYS; \ + ((struct CableDeliverySystemDescriptor *)descr)->Frequency = freq; \ + ((struct CableDeliverySystemDescriptor *)descr)->SymbolRate = sr; \ + ((struct CableDeliverySystemDescriptor *)descr)->FEC = fec; \ + ((struct CableDeliverySystemDescriptor *)descr)->Modulation = mod; \ + } while (0) + /* ServiceListDescriptor */ struct ServiceListDescriptor { |