Implemented DVB-T support; Removed the range limits for the Frequency and Srate parameters of channel definitions

This commit is contained in:
Klaus Schmidinger
2001-11-24 11:42:43 +01:00
parent 916fc0762b
commit 01bff47d1c
8 changed files with 82 additions and 69 deletions

6
menu.c
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.139 2001/11/04 10:37:18 kls Exp $
* $Id: menu.c 1.140 2001/11/24 11:16:31 kls Exp $
*/
#include "menu.h"
@@ -546,10 +546,10 @@ cMenuEditChannel::cMenuEditChannel(int Index)
if (channel) {
data = *channel;
Add(new cMenuEditStrItem( tr("Name"), data.name, sizeof(data.name), FileNameChars));
Add(new cMenuEditIntItem( tr("Frequency"), &data.frequency, 10000, 13000)); //TODO exact limits???
Add(new cMenuEditIntItem( tr("Frequency"), &data.frequency));
Add(new cMenuEditChrItem( tr("Polarization"), &data.polarization, "hv"));
Add(new cMenuEditIntItem( tr("DiSEqC"), &data.diseqc, 0, 10)); //TODO exact limits???
Add(new cMenuEditIntItem( tr("Srate"), &data.srate, 22000, 30000)); //TODO exact limits - toggle???
Add(new cMenuEditIntItem( tr("Srate"), &data.srate));
Add(new cMenuEditIntItem( tr("Vpid"), &data.vpid, 0, 0xFFFE));
Add(new cMenuEditIntItem( tr("Apid1"), &data.apid1, 0, 0xFFFE));
Add(new cMenuEditIntItem( tr("Apid2"), &data.apid2, 0, 0xFFFE));