Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Radio / Tuner




Hi!

> Could you tell me how ptest works. There no documentation that could
> give me a hint.

c'mon, use the source, luke! .. 406 bytes ..

the interesting parts:

ifs >> dvb;

hands the data (the file 'CABLE' or 'TEST' selected before) assigned
to the stream to the DVB object ..

while (1) {
  cin >> hex >> nr;
  if (nr<0)
    break;
  dvb.SetChannel(nr);
}

loop for some userinput (in hex) on stdin, convert the hex numbers to
integers and place them in nr, tune to channel with given nr.

   Count


Home | Main Index | Thread Index